Category.From_monad
module Monad : Preface_specs.Monad.CORE
type ('a, 'b) t = 'a -> 'b Monad.t
The type held by the Category
.
include Preface_specs.Category.WITH_ID with type ('a, 'b) t := ('a, 'b) t
val id : ('a, 'a) t
The identity morphism.
An alias of CORE
.compose with flipped argument.
module Infix : Preface_specs.Category.INFIX with type ('a, 'b) t := ('a, 'b) t
An alias of CORE
.compose (to be iso with Preface_core
).
An alias of CORE
.compose (to be iso with Preface_core
).
An alias of OPERATION
.compose_left_to_right (to be iso with Preface_core
).
An alias of CORE
.compose (to be iso with Haskell's approach). Even <<<
looks like <%
(it is an alias for the same function), they differ in their priorities. OCaml documentation of operators priorities
An alias of CORE
.compose_left_to_right (to be iso with Haskell's approach). Even >>>
looks like %>
(it is an alias for the same function), they differ in their priorities. OCaml documentation of operators priorities