3 lines
82 B
Scala
3 lines
82 B
Scala
scala.io.Source.fromFile(filename).getLines.foreach {
|
|
line => // do something
|
|
}
|