4 ms·
monads are not unique to Haskell. read the source for webdriver.io and you'll see that monads exist in js, too. at that point, you might say "but this thing t
by auvrw 11y ago
monads are not unique to Haskell. read the source for webdriver.io and you'll see that monads exist in js, too.
at that point, you might say "but this thing they're calling a monad in js is just an object.". well, these things we call monads in Haskell are just type classes.
now, a more fundamental question is "why do we care about types so much," and I don't have a pat answer for that one. suggestions to try out lisps for comparison makes sense, tho.