package jhupllib
A collection of OCaml utilities used by the JHU PL lab
Install
Dune Dependency
Authors
Maintainers
Sources
0.2.2.tar.gz
md5=8518b1ea79fce913120da2506a597e7b
sha512=57e531641341ee4ab8915fe46558ae84e23004e132d8a37e03969c5f476186578c1347ddf9f78563327cd1c2797ee198621158f4777e1e18cca3da424bf43e53
doc/index.html
jhupllib
API
Library jhupllib
Jhupllib
Jhupllib_eager_nondeterminism
This module contains a simple definition of an eager nondeterminism monad. This monad is eager in that it uses non-lazy structures (e.g. list) rather than lazy structures (e.g. lazy_list). While lazy structures are useful both to reduce memory copying and avoid unnecessary computation in the event that the results are not fully consumed, eager structures require less complex internal representations.Jhupllib_logger_utils
Jhupllib_monad_utils
A module containing a utility functor for monads.Jhupllib_multimap
Jhupllib_multimap_pp
Jhupllib_multimap_to_yojson
Jhupllib_nondeterminism
This module contains a non-determinism monad.Jhupllib_pp_utils
Jhupllib_string_utils
Jhupllib_uids
A module defining a generative functor which creates UID modules.Jhupllib_utils
Jhupllib_witness_protection
This module provides a means by which a registry of "witnesses" can be created. Here, a witness is a representative of another (typically more complex) value. A witness registry is a mutable structure which monotonically accumulates values, mapping distinct values to distinct witnesses. The primary use of such a registry is to accelerate comparison operations. For instance, using witnesses as keys in a tree-based dictionary may be faster than using the original values if the comparison between two values is an expensive operation.Jhupllib_yojson_utils
This module contains utility functions for writing Yojson codec generators.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page