CCFun.Infix
val (|>) : 'a -> ( 'a -> 'b ) -> 'b
x |> f is the same as f x. A 'pipe' operator.
x |> f
f x
val (@@) : ( 'a -> 'b ) -> 'a -> 'b
f @@ x is the same as f x, but right-associative.
f @@ x
val (%>) : ( 'a -> 'b ) -> ( 'b -> 'c ) -> 'a -> 'c
(f %> g) x or (%>) f g x is g (f x). Alias to compose.
(f %> g) x
(%>) f g x
g (f x)
compose
val (%) : ( 'b -> 'c ) -> ( 'a -> 'b ) -> 'a -> 'c
(f % g) x or (%) f g x is f (g x). Mathematical composition.
(f % g) x
(%) f g x
f (g x)