package travesty

Not available on OCaml 5.5
  1. Overview
  2. Docs
Traversable containers, monad extensions, and more

Install

dune-project
 Dependency

Authors

Maintainers

Sources

travesty-v0.7.0.tbz
sha256=01661918f73f33b0e6d0cf3851c2d5d6ef76b86332a3e76a4958689ff1a6fd3a
sha512=14e9b0e9ae39055c386c5e996055ce59edf57b9bf9b0055722632520f9c9b0270af571576950be982ed2b86e859361c7344166a38a85fa7d28d45be8f3e18c77

Description

'Travesty' is a library for defining containers with applicative or monadic traversals, inspired by Haskell's Traversable typeclass; it also contains various helpers for monadic code, such as state transformers and extension functions for common monads and containers. It sits on top of Jane Street's Base library and ecosystem.

Added to opam-repository:

README

Travesty

Main workflow

Travesty is a library for defining containers with applicative 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 applicative functor and 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);
  • extra function combinators (Travesty_base_exts.Fn).

Note: the Travesty_base_exts modules form a separate subpackage (travesty.base_exts).

Travesty is licenced under the MIT licence, and is a spin-off from the c4f 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. ocaml >= "4.08"
  4. dune >= "2.0"

Dev Dependencies (1)

  1. ppx_expect with-test & >= "v0.12.0"

Optional Dependencies

None

Used by

None

Conflicts

None

Build status

Results of building travesty with each compiler on check.ci.ocaml.org, run of against opam-repository 8d8d144. All results for this package.

Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.

Version OCaml 4.11 OCaml 4.14 OCaml 5.2 OCaml 5.4 OCaml 5.5
0.8.0 n/a n/a good n/a n/a
0.7.2 n/a good good n/a n/a
0.7.0 (this version) good good good n/a n/a
  • good Package successfully built
  • partial One of the dependencies failed to build
  • bad Package failed to build
  • n/a Package is not available in this environment
  • internal Internal failure