package provider

  1. Overview
  2. Docs
Dynamic Dispatch with Traits

Install

Dune Dependency

Authors

Maintainers

Sources

provider-0.0.11.tbz
sha256=80e346ccde7dbf39796c3140f914641713c445ccae0183ac2948e3feb18099f3
sha512=6e7ab4734add6543498cc7d4364a4c257c63dfd4c809e798857eec7b151778c4c307901571fb1bc05f2493af3c024efbfada21e98bc9b8d758e6d9a4b613f34f

Description

Provider is an OCaml library for creating Traits and Interfaces. It allows you to define the functionality needed by a library without committing to a specific implementation.

In essence, Provider handles dynamic dispatch, where the target of a function call is not known until runtime.

Dependencies (3)

  1. sexplib0 >= "v0.16"
  2. ocaml >= "4.14"
  3. dune >= "3.16"

Dev Dependencies (1)

  1. odoc with-doc

Used by

None

Conflicts

None

OCaml

Innovation. Community. Security.