package containers
A modular, clean and powerful extension of the OCaml standard library
Install
Dune Dependency
Authors
Maintainers
Sources
containers-3.16.tbz
sha256=1e7992cb2e59c0d2290d1b6c3a31531b3f310be6170b8ef3dde17ccd876b5b79
sha512=bb124e69ad0690f88393e18eee499be07761e767593558867aab32f643466b43258ced503170b154ca3b56dbd68987abd6d9438cf473707ec9866511589a5b84
doc/containers/CCBool/index.html
Module CCBool
Source
Basic Bool functions
compare b1 b2
is the total ordering on booleans b1
and b2
, similar to Stdlib.compare
.
if_then f x
is Some (f ())
if x
is true and None otherwise.
if_then_else f g x
is f ()
if x
is true and g ()
otherwise.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>