package containers
A modular, clean and powerful extension of the OCaml standard library
Install
dune-project
Dependency
Authors
Maintainers
Sources
containers-3.14.tbz
sha256=c94fba0c7c54349b7021c31f85120495197ddde438c574d48362ec669bf7e564
sha512=b33588d9df66a858083616cc70cd82822cecc2dcec8902759e72648e5c41c887556da0a28317f388d34afe319309c20dd8baa7508d003dddff00e83869fad861
doc/containers/CCEither/index.html
Module CCEitherSource
Either Monad
Module that is compatible with Either form OCaml 4.12 but can be use with any ocaml version compatible with container
Basics
find_left x returns l if x = Left l and None otherwise.
find_right x returns r if x = Left r and None otherwise.
Map using left or right.
Iter using left or right.
Check some property on Left or Right variant.