package travesty

  1. Overview
  2. Docs
Monadically traversable containers

Install

Dune Dependency

Authors

Maintainers

Sources

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

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.