News for hackers. Stuff that matters.
Re:Take on Haskell vs Scala by tikhonj on Monday July 30, 2012 @06:03PM (#4314921)
Happily you can use curly braces in Haskell if you really want to. You have the choice between:

    do something 10
       b <- somethingElse
       something b
and

    do {
      something 10;
      b <- somethingElse;
      something b
    }
I've only ever seen the latter style very rarely though. I think it's also good for generating code so that you don't have to worry about whitespace and lining your generated code up properly.

There are no comments on this comment yet.