/simple-monads

My own attempt at implementing some monads in TypeScript

Primary LanguageTypeScriptGNU General Public License v3.0GPL-3.0

simple-monads

This library is my own attempt at implementing the most common monads in an effort to understand them better. I will probably use this library in my own personal projects but if you're looking for something solid you're better off with other libraries.

These are some repositories that inspired me :

Of course, the the book that started it all for me is Learn You a Haskel for Great Good! and you should read it.

I also tried to make my implementation (loosely) compliant with fantasy-land