interface-primeversion Documentation on ocaml.org

Interfaces for common design patterns

Interface' (pron. Interface Prime) provides an abstraction for common design patterns (e.g. monads) which can be implemented by your favourite libraries (e.g. lwt and async) to reduce the coupling between your code and your dependencies.

Whats the point? I've seen in many libraries the redefininition the same standard functions for monadic operations, e.g. bind/(>>=), fmap/(>|=)/(>>|). To simplify this NxN problem, Interface' aims to act as an abstraction over common design patterns like monads to allow a bit more flexibility between the code you write and the libraries you use.

Tags interface monad io lwt
AuthorDorian Peake <dorian@vereia.com>
Homepagehttps://github.com/dozzman/interface-prime
Issue Trackerhttps://github.com/dozzman/interface-prime/issues
MaintainerDorian Peake <dorian@vereia.com>
Dependencies
Source [http] https://github.com/dozzman/interface-prime/archive/0.1.tar.gz
md5=9c4116cf209faab28cbc8b932ee19379
sha512=d4a118fb947baf2b99e9815b34252132d6e5bd3c9f30cb27c58438dd173460bda9815f98e795655e27c50b177dab4cbcf88eae1d07fda25a96767c6b5feb703e