Module Free_monad.Make3

Parameters

module F : Functor.S3

Signature

type ('a, 'x, 'y) t =
| Pure of 'a
| Free of ( ( 'a, 'x, 'y ) t, 'x, 'y ) F.t
include Monad_let.S3 with type ('a, 'x, 'y) t := ( 'a, 'x, 'y ) t
include Monad_let.S_without_syntax3 with type ('a, 'd, 'e) t := ( 'a, 'd, 'e ) t
include Core_kernel.Monad.Infix3 with type ('a, 'd, 'e) t := ( 'a, 'd, 'e ) t
val (>>=) : ( 'a, 'd, 'e ) t -> ( 'a -> ( 'b, 'd, 'e ) t ) -> ( 'b, 'd, 'e ) t
val (>>|) : ( 'a, 'd, 'e ) t -> ( 'a -> 'b ) -> ( 'b, 'd, 'e ) t
module Monad_infix : Core_kernel.Monad.Infix3 with type ('a, 'd, 'e) t := ( 'a, 'd, 'e ) t
val bind : ( 'a, 'd, 'e ) t -> f:( 'a -> ( 'b, 'd, 'e ) t ) -> ( 'b, 'd, 'e ) t
val return : 'a -> ( 'a, _, _ ) t
val map : ( 'a, 'd, 'e ) t -> f:( 'a -> 'b ) -> ( 'b, 'd, 'e ) t
val join : ( ( 'a, 'd, 'e ) t, 'd, 'e ) t -> ( 'a, 'd, 'e ) t
val ignore_m : ( _, 'd, 'e ) t -> ( unit, 'd, 'e ) t
val all : ( 'a, 'd, 'e ) t list -> ( 'a list, 'd, 'e ) t
val all_unit : ( unit, 'd, 'e ) t list -> ( unit, 'd, 'e ) t
module Let_syntax : sig ... end