package travesty

  1. Overview
  2. Docs
Traversable containers, monad extensions, and more

Install

Dune Dependency

Authors

Maintainers

Sources

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

doc/travesty.base_exts/Travesty_base_exts/Fn/Compose_syntax/index.html

Module Fn.Compose_syntaxSource

Sourceval (>>) : ('a -> 'b) -> ('b -> 'c) -> 'a -> 'c

f >> g is Fn.compose g f.

Example:

  let f = String.(Compose_syntax.(strip >> lowercase >> equal "test")
  in f " TEST " (* --> true *)
OCaml

Innovation. Community. Security.