ZILtoid1991@lemmy.world to Programmer Humor@programming.dev · 2 days agoMonadslemmy.worldimagemessage-square41fedilinkarrow-up1291arrow-down112
arrow-up1279arrow-down1imageMonadslemmy.worldZILtoid1991@lemmy.world to Programmer Humor@programming.dev · 2 days agomessage-square41fedilink
minus-squareme@social.jlamothe.netlinkfedilinkarrow-up2·2 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.
@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.