Re:Functional programming jargon in plain English
by xigoi on Tuesday July 05, 2022 @05:19AM
(#31986078)
You can have support for monads without using them for IO.
[ Parent
| on HN ]
Re:Functional programming jargon in plain English
by Iceland_jack on Tuesday July 05, 2022 @09:57AM
(#31988246)
Separating IO is kind of the killer feature, something like `rand()` is not an int unless you're reading dilbert[1] or xkcd[2]. Basic equations break down in the face of an Int-valued IO-action being conflated with an Int
[1] https://dilbert.com/search_results?terms=Random+Number+Gener... [2] https://xkcd.com/221/