package travesty

  1. Overview
  2. Docs
Monadically traversable containers

Install

Dune Dependency

Authors

Maintainers

Sources

travesty-v0.6.0.tbz
sha256=64b136dadb5d7628dbdf5db18d4cae813a69f670979b028e5ce36db41c714064
sha512=086dbe8603047b549a0b97d9e8c3252ba71db0bd30bcb03eed24a86ad39ea52ee8118a29003bd20aea06d52b39e930e263d9a53215bfa58ea4bab7f856928add

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: 25 Jun 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 > "1.10"
  4. ocaml >= "4.07" & < "4.09"

Dev Dependencies

None

Used by

None

Conflicts

None