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