Preface_core.Fun
(compose_left_to_right f g) x
is g (f x)
.
(compose_right_to_left f g) x
is f (g x)
. It is the mathematical composition.
Produce a function that returns its first argument. const a b
returns always a
.
module Infix : sig ... end
(f %> g) x
is g (f x)
. Alias for Preface_stdlib.Fun.compose_left_to_right
(f <% g) x
is f (g x)
. Alias for Preface_stdlib.Fun.compose_right_to_left
(f <% g) x
is f (g x)
. Alias for Preface_stdlib.Fun.compose_right_to_left