ZILtoid1991@lemmy.world to Programmer Humor@programming.dev · 18 days agoMonadslemmy.worldimagemessage-square27linkfedilinkarrow-up1287arrow-down111
arrow-up1276arrow-down1imageMonadslemmy.worldZILtoid1991@lemmy.world to Programmer Humor@programming.dev · 18 days agomessage-square27linkfedilink
minus-squareme@social.jlamothe.netlinkfedilinkarrow-up3·17 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.