ZILtoid1991@lemmy.world to Programmer Humor@programming.dev · 1 day agoMonadslemmy.worldimagemessage-square41fedilinkarrow-up1275
arrow-up1275imageMonadslemmy.worldZILtoid1991@lemmy.world to Programmer Humor@programming.dev · 1 day agomessage-square41fedilink
minus-squareme@social.jlamothe.netlinkfedilinkarrow-up2·9 hours 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.