package interface-prime

  1. Overview
  2. Docs
Interfaces for common design patterns

Install

Dune Dependency

Authors

Maintainers

Sources

0.1.tar.gz
md5=9c4116cf209faab28cbc8b932ee19379
sha512=d4a118fb947baf2b99e9815b34252132d6e5bd3c9f30cb27c58438dd173460bda9815f98e795655e27c50b177dab4cbcf88eae1d07fda25a96767c6b5feb703e

README.md.html

Interface'

Abstract interface 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.