News for hackers. Stuff that matters.
Re:Scala: Where it came from, Where it's going by azth on Tuesday March 17, 2015 @02:02PM (#9219917)

    scala> def f(x: Int) = if (x % 2 == 0) { x } else { None }
    f: (x: Int)Any
Which is expected. The only shared type between both branches of the `if` expression is `Any`.

There are no comments on this comment yet.