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