1. Overview
  2. Docs
Interfaces for common design patterns (LWT implementation)

Install

dune-project
 Dependency

Authors

Maintainers

Sources

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

Description

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

Added to opam-repository:

README

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.

Dependencies (4)

  1. interface-prime >= "0.1"
  2. lwt >= "4.1.0"
  3. dune >= "1.6.2"
  4. ocaml >= "4.03"

Dev Dependencies

None

Optional Dependencies

None

Used by

None

Conflicts

None

Build status

Results of building interface-prime-lwt with each compiler on check.ci.ocaml.org, run of against opam-repository 8a77e58. All results for this package.

Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.

Version OCaml 4.11 OCaml 4.14 OCaml 5.2 OCaml 5.4 OCaml 5.5
0.1 (this version) good good good good good
  • good Package successfully built
  • partial One of the dependencies failed to build
  • bad Package failed to build
  • n/a Package is not available in this environment
  • internal Internal failure