r/functionalprogramming • • Dec 19 '23

JavaScript Monads in JavaScript

23 Upvotes

11 comments sorted by

View all comments

Show parent comment

3

u/miracleranger Dec 19 '23

getify drove this point home pretty well in his Monio implementation's docs: https://github.com/getify/monio/blob/master/MONADS.md
although i like this Promise-like semantics going on here better. not sure how it would hold up after multiple combinator types, but as i said in my comment i use a different paradigm altogether anyway.