News for hackers. Stuff that matters.
Re:Hello Haskell, Goodbye Scala by Peaker on Tuesday January 22, 2013 @08:29AM (#5096968)
Why not define a type alias?

  type AppForm a = Html -> MForm Blog Blog (FormResult a, Widget)
And then you get:

  newPostForm :: AppForm (Text, Text, Text)
Re:Hello Haskell, Goodbye Scala by svachalek on Tuesday January 22, 2013 @12:27PM (#5098275)
The real fun with type aliases is that GHC rarely uses them in error messages. So you get about 20 lines of type vomit whenever something refuses to compile and then you get to try to piece it back together into a level of abstraction that humans can handle.
Re:Hello Haskell, Goodbye Scala by Peaker on Tuesday January 22, 2013 @01:04PM (#5098530)
Well, it isn't the case here, is it?