Can someone explain what the <- operator does in scala? I've always seen it used in iterator examples:
for(line <- Source.fromFile(inFile).getLines()){
//do something with each line
}
From the examples, its obvious that it does assignment, but how/why is different than normal =? I've searched the docs, but so far have come up empty.