package travesty

  1. Overview
  2. Docs
Monadically traversable containers

Install

Dune Dependency

Authors

Maintainers

Sources

travesty-v0.1.2.tbz
sha256=a082eb5063e8eebbe9ea3ebb48455b05cdb870cfabc03c2f61a9e9da6ee1837c
md5=4d184fc638e00f9466045676e20dcf39

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 Core library ecosystem.

Published: 13 Dec 2018

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 (State);

  • state transformers (State_transform);

  • monadic traversal and various extensions on lists (T_list) and options (T_option);

  • miscellaneous extensions on monads (T_monad), containers (T_containers), and functions (T_fn).

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

Usage

See the API documentation.

Travesty shouldn't shadow any existing Core modules (any modules containing extensions on them are prefixed by T_), so open Travesty should work.

Contributions

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

Dependencies (7)

  1. core_kernel >= "v0.11" & < "v0.12"
  2. ppx_sexp_message build & < "v0.12"
  3. ppx_jane build & < "v0.12"
  4. ppx_expect build & < "v0.12"
  5. ppx_deriving build
  6. dune
  7. ocaml >= "4.06"

Dev Dependencies

None

Used by

None

Conflicts

None

OCaml

Innovation. Community. Security.