ZILtoid1991@lemmy.world to Programmer Humor@programming.dev · 23 hours agoMonadslemmy.worldimagemessage-square39fedilinkarrow-up1265
arrow-up1265imageMonadslemmy.worldZILtoid1991@lemmy.world to Programmer Humor@programming.dev · 23 hours agomessage-square39fedilink
minus-squarepegazz@lemmy.worldlinkfedilinkarrow-up6·18 hours agoOptional is my favorite example to give, at this point most people have internalized how to use its map function and how it works
minus-squaremagic_lobster_party@fedia.iolinkfedilinkarrow-up3·15 hours agoThat’s a good one. A rule of thumb is that if it has map and flatMap (or equivalent), then chances are that it’s a monad.
Optional is my favorite example to give, at this point most people have internalized how to use its map function and how it works
That’s a good one.
A rule of thumb is that if it has map and flatMap (or equivalent), then chances are that it’s a monad.