minus-squareme@social.jlamothe.nettoProgrammer Humor@programming.dev•Monadslinkfedilinkarrow-up2·3 days ago@mEEGal @ZILtoid1991 Honestly, the best way I’ve found to understand monads (if we’re talking Haskell) is to look at the type signatures of its functions. Understanding return, (>>=), and (>>) will essentially tell you everything you need to know. linkfedilink
@mEEGal @ZILtoid1991 Honestly, the best way I’ve found to understand monads (if we’re talking Haskell) is to look at the type signatures of its functions. Understanding
return
,(>>=)
, and(>>)
will essentially tell you everything you need to know.