/free-monads-js

Utilities for writing JS code with free monads, without needing to know what a monad is

Primary LanguageJavaScriptMIT LicenseMIT

Free-monads-js

This was an experiment, the demo works but that's about it.

Inspired by "A Modern Architecture for FP", "Compositional Application Architecture with Reasonably Priced Monads" and "Data types a la Carte", this project is intended to allow developers to architect JS applications compositionally, from well-defined algebras and separate, composable interpreters. It aims to abstract away any notion of the types and theory behind free monads, while providing a correct implementation of their semantics.

License

MIT