top | item 30014054

(no title)

aesyondu | 4 years ago

> These laws can be illustrated with simple examples, and don't require any deep mathematical knowledge to comprehend.

If you could share some of these examples, or perhaps a link to those examples, I'd greatly appreciate it.

discuss

order

kaba0|4 years ago

I wrote an explanation for them here: https://news.ycombinator.com/item?id=28844533

Though I’m not the best at explaining things, hopefully it makes sense.

aesyondu|4 years ago

Oh okay. So what I'm understanding from your post is that, a monad is just a way of applying the return value of one function as a parameter for another function.

Sorry if I misunderstood. I've been reading many explanations for monads, but insight seem to elude me.