package opam-core

  1. Overview
  2. Docs

Module OpamStd.OpSource

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

Function application (with lower priority) (predefined in OCaml 4.01+)

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

Pipe operator -- reverse application (predefined in OCaml 4.01+)

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

Function composition : (f @* g) x =~ f (g x)

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

Reverse function composition : (f @> g) x =~ g (f x)

OCaml

Innovation. Community. Security.