News for hackers. Stuff that matters.
Re:Scala for Haskell programmers by runaro on Sunday January 24, 2010 @01:52AM (#1073077)
No higher-rank types in Scala, I'm afraid.

As for the monoid instance:

def pairMonoid[A,B](a:Monoid[A],b:Monoid[B]) = new Monoid[(A, B)] { def empty = (a.empty, b.empty) ... }

There are no comments on this comment yet.