package travesty

  1. Overview
  2. Docs
Monadically traversable containers

Install

Dune Dependency

Authors

Maintainers

Sources

travesty-v0.3.0.tbz
sha256=40ada5c475cfeba7d933eec133294d1b5ef5da6ce864c9746b2ce4ce49b5e3a4
md5=dc818d6b232f13edb388d25781cd99a2

README.md.html

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.

OCaml

Innovation. Community. Security.