package travesty

  1. Overview
  2. Docs
Monadically traversable containers

Install

dune-project
 Dependency

Authors

Maintainers

Sources

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

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

Module Fn.Compose_syntax

val (>>) : ('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.