Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

haskal nomad?

Name: Anonymous 2011-12-19 8:54

Modelling monads with a typeclass is stupid. There isn't one true monad for a given type. It makes no sense that when you use bind with lists you automatically get concatmap.

Name: Anonymous 2011-12-19 14:58

>>11
I don't mean it that way, I'm just wondering what you think would be a better way to do it. It seems like for a decent implementation of monads with several different types depending on which monad is it, you'd basically need to write your own type system (Greenspun's tenth rule in reverse). And I'm not saying that Haskell is perfect.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List