package travesty

  1. Overview
  2. Docs

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: 03 Mar 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 (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.

Dev Dependencies

None

Used by

None

Conflicts

None

OCaml

Innovation. Community. Security.