/monadic-js

Primary LanguageJavaScript

monadic-js

"If you have to ask, you will never know. If you know, you need only ask" -- Reader Monad

Demo examples for working with

and other FP libs:


Demonstrate functional approaches like:

  • Use momi's middleware to achieve resource management for transaction session.
  • Use momi's middleware (inversion of control) to achieve escape functionality.
  • Use partial.lense's traverse extract future context out of documents.
  • Incorporate express's build-in, momi's, fluture-express's middlewares.
  • Incorporate express-validator's middlewares.
  • Use bimap to achieve asynchronous type-checking for future's container types.