package travesty

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

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.