If you're interested in functional programming, you might also want to checkout my second blog which i'm actively working on!!

Thursday, July 18, 2013

Mimicking grep command in Scala

4 comments:

  1. hi Robby, in these examples, how do you close Source returned by Source.fromFile(file)? Seems like it just kept open until process terminates.

    ReplyDelete
  2. You are right... i fixed the implementation and it now closes the source after usage

    ReplyDelete
  3. This comment has been removed by the author.

    ReplyDelete
  4. So helpful! Thanks very much :)

    ReplyDelete