package higher_kinded

  1. Overview
  2. Docs

Parameters

module M : Base.Monad.S
module X : S with type 'a t := 'a M.t

Signature

val inject : 'a M.t -> ('a -> X.higher_kinded) t
val project : ('a -> X.higher_kinded) t -> 'a M.t
val (>>=) : ('a -> X.higher_kinded) t -> ('a0 -> ('b -> X.higher_kinded) t) -> ('b0 -> X.higher_kinded) t
val (>>|) : ('a -> X.higher_kinded) t -> ('a0 -> 'b) -> ('b0 -> X.higher_kinded) t
module Monad_infix : sig ... end
val bind : ('a -> X.higher_kinded) t -> f:('a0 -> ('b -> X.higher_kinded) t) -> ('b0 -> X.higher_kinded) t
val return : 'a -> ('a0 -> X.higher_kinded) t
val map : ('a -> X.higher_kinded) t -> f:('a0 -> 'b) -> ('b0 -> X.higher_kinded) t
val join : (('a -> X.higher_kinded) t -> X.higher_kinded) t -> ('a0 -> X.higher_kinded) t
val ignore_m : ('a -> X.higher_kinded) t -> (unit -> X.higher_kinded) t
val all : ('a -> X.higher_kinded) t list -> ('a0 list -> X.higher_kinded) t
val all_unit : (unit -> X.higher_kinded) t list -> (unit -> X.higher_kinded) t
module Let_syntax : sig ... end
OCaml

Innovation. Community. Security.