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-squaremarcos@lemmy.worldlinkfedilinkarrow-up3·1 month agoA monad is a builder that lets you use previous partial results to make decisions while you build.
minus-squareWhyJiffie@sh.itjust.workslinkfedilinkEnglisharrow-up3·1 month agothat sounds like a regular builder
minus-squaremarcos@lemmy.worldlinkfedilinkarrow-up1·1 month agoIf you regular builders can’t be composed as values… That may be regular, but it doesn’t make them good. Some times you need that, and it’s ok, but that shouldn’t be most times.
A monad is a builder that lets you use previous partial results to make decisions while you build.
that sounds like a regular builder
If you regular builders can’t be composed as values…
That may be regular, but it doesn’t make them good. Some times you need that, and it’s ok, but that shouldn’t be most times.