package travesty

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
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.