package provider
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.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page