package travesty

  1. Overview
  2. Docs
Monadically traversable containers

Install

Dune Dependency

Authors

Maintainers

Sources

travesty-v0.6.2.tbz
sha256=be89ec1c96fedcc47362568b359aa6b8d3fefb8b86f70133dd1a75ca72476807
sha512=19616b0a5fddd5725fdf7ab160e9f89d243f0dbaaaf53ba455bfbac2790cb07811862ecc5ada81be35a06869a987dcc149f24a7e84f461222216d45fe0036ca2

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: 02 Apr 2020

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 >= "2.0"
  4. ocaml >= "4.07"

Dev Dependencies (1)

  1. ppx_expect with-test & < "v0.14"

Used by

None

Conflicts

None

OCaml

Innovation. Community. Security.