package travesty

  1. Overview
  2. Docs
Monadically traversable containers

Install

Dune Dependency

Authors

Maintainers

Sources

travesty-v0.6.1.tbz
sha256=9c7b3803620c54496a35983285242ec8e06a5efb1baa3523384d7184b7e9fab7
sha512=991646fe5bb899971d3f8c00432d4df6c45dbd81cbff885b28d30d9c228e5df61f1e8d61aadc164ec35c448093abb34fd7a7d571e1cdf4d3af25579bf400f167

Description

'Travesty' is a library for defining containers with monadic traversals, inspired by Haskell's Traversable typeclass. It sits on top of Jane Street's Base library and ecosystem.

Published: 27 Nov 2019

README

Travesty

Travesty is a library for defining containers with monadic traversals, inspired by Haskell's Traversable typeclass. It sits on top of Jane Street's Core library ecosystem.

Travesty also contains several other bits of Haskell-style monad functionality:

  • state monads (Travesty.State);

  • state transformers (Travesty.State_transform);

  • miscellaneous extensions on monads (Travesty.Monad_exts) and containers (Travesty.Containers_exts);

  • extensions and implementations of Travesty signatures for Base (Travesty_base_exts) and Core_kernel (Travesty_core_kernel_exts) containers;

  • extra function combinators (Travesty_base_exts.Fn and Travesty_core_kernel_exts.Fn).

Note: the Travesty_base_exts and Travesty_core_kernel_exts modules form separate subpackages (travesty.base_exts and travesty.core_kernel_exts respectively).

Travesty is licenced under the MIT licence, and is a spin-off from the act project.

Usage

See the API documentation.

Travesty tries not to shadow existing modules except in the various exts subpackages.

Contributions

Any and all contributions (pull requests, issues, etc.) are welcome.

Dependencies (4)

  1. base >= "v0.12.0" & < "v0.16.0"
  2. ppx_jane >= "v0.12.0"
  3. dune >= "2.0" & < "3.0"
  4. ocaml >= "4.07" & < "4.10"

Dev Dependencies

None

Used by

None

Conflicts

None

OCaml

Innovation. Community. Security.