ZILtoid1991@lemmy.world to Programmer Humor@programming.dev · 1 month agoMonadslemmy.worldimagemessage-square41linkfedilinkarrow-up1299arrow-down112
arrow-up1287arrow-down1imageMonadslemmy.worldZILtoid1991@lemmy.world to Programmer Humor@programming.dev · 1 month agomessage-square41linkfedilink
minus-squarepegazz@lemmy.worldlinkfedilinkarrow-up7·1 month 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·30 days 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.