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

knowledge is my blood

Name: Anonymous 2012-01-30 8:40

/program/, I love knowledge. The rush I get when a concept clicks is my drug. Learning is why I get up in the morning. I want t know everything there is to know. Learning Haskell is one of my greatest adventures and its had me up all night every night for a while.  An anyone else relate? Why am I addicted to the moment of understanding?

Name: Anonymous 2012-01-30 16:02

>>2
as an advice, read the introduccion of wadler on monads, it introduced the concept and tell "why would you want to use monads"

and as the first monad to understand use "Maybe" something like

(Just 2 >>= (\a -> return (a + 5)) >>= (\b -> return (b^2))


(Nothing >>= (\a -> return (a + 5)) >>= (\b -> return (b^2))

i think is the easiest monad. when you understand (in the widler paper) how the state monad works then you can say you understand them (IO is just a big state monad)

good luck

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