package travesty

  1. Overview
  2. Docs
Monadically traversable containers

Install

Dune Dependency

Authors

Maintainers

Sources

travesty-v0.1.3.tbz
sha256=a81f14322f7a9ed270018180ad371a394f564322f02c12b1c5b93bafbce17d99
md5=0f55119e314f91d3280fb065ff70dde7

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 < "v0.12"
  3. ppx_jane < "v0.12"
  4. ppx_expect < "v0.12"
  5. ppx_deriving
  6. dune
  7. ocaml >= "4.06"

Dev Dependencies

None

Used by

None

Conflicts

None

OCaml

Innovation. Community. Security.