Re:Are Monads a Waste of Time?
by lmm on Wednesday February 21, 2018 @05:00AM
(#16428287)
That's just Haskell's crazy evaluation semantics though, not something that applies to monads in general.
[ Parent
| on HN ]
Indeed. But bad_user made a claim about monads in general
("What a Monad does is to force sequencing by creating a data dependency.") so all I need to do to refute it is give an example of a particular monad where the claim doesn't hold.
Monads force a denotation of sequencing. Of course you can write a language implementation where the sequencing of operation does not represent the sequencing of denotation (just as you can write a "compiler" that compiles all programs to Hello World), but, well, that's on you.