package ocaml-basics
Module type Result.S
module Accu : sig ... endmodule Monad : sig ... endmodule Applicative : sig ... endinclude module type of Monad.Core
val return : 'a -> ('a, _) Monad.tinclude module type of Applicative.Core
val apply :
('a -> 'b, 'c) Applicative.t ->
('a, 'c) Applicative.t ->
('b, 'c) Applicative.tval map : ('a -> 'b) -> ('a, 'c) Applicative.t -> ('b, 'c) Applicative.tval pure : 'a -> ('a, _) Applicative.tval fold : ('a -> 'b -> 'a) -> 'a -> ('b, _) t -> 'aval get_ok : default:'a -> ('a, _) t -> 'amodule Infix : sig ... end