News for hackers. Stuff that matters.
Re:Scrap Your Cake Pattern Boilerplate: Dependency Injection... by kilovoltaire on Monday October 28, 2013 @04:33PM (#6629581)
Cool thanks, didn't realize it was due to implicits. Here are my tests, for the record.

Works in Scala:

    for {a <- Seq(Some(1), None, Some(3)); b <- a} yield b
Doesn't work in Haskell:

    do a <- [Just 1, Nothing, Just 3]; b <- a; return b

There are no comments on this comment yet.