sig
type (_, _) t
val pure : 'a -> ('p, 'a) t
val ap : ('p, 'a -> 'b) t -> (unit -> ('p, 'a) t) -> ('p, 'b) t
val map : ('a -> 'b) -> ('p, 'a) t -> ('p, 'b) t
val ( >|= ) : ('p, 'a) t -> ('a -> 'b) -> ('p, 'b) t
val replace : 'a -> ('p, 'b) t -> ('p, 'a) t
val void : ('p, 'a) t -> ('p, unit) t
val ap' :
('p, 'a -> 'b) Applicative.S2.t ->
('p, 'a) Applicative.S2.t -> ('p, 'b) Applicative.S2.t
val ( <*> ) :
('p, 'a -> 'b) Applicative.S2.t ->
('p, 'a) Applicative.S2.t -> ('p, 'b) Applicative.S2.t
val ( <~> ) :
('p, 'a -> 'b) Applicative.S2.t ->
(unit -> ('p, 'a) Applicative.S2.t) -> ('p, 'b) Applicative.S2.t
val discard_left :
('p, 'a) Applicative.S2.t ->
(unit -> ('p, 'b) Applicative.S2.t) -> ('p, 'b) Applicative.S2.t
val discard_right :
('p, 'a) Applicative.S2.t ->
(unit -> ('p, 'b) Applicative.S2.t) -> ('p, 'a) Applicative.S2.t
val repeat :
int -> ('p, 'a) Applicative.S2.t -> ('p, 'a list) Applicative.S2.t
val repeat_ :
int -> ('p, 'a) Applicative.S2.t -> ('p, unit) Applicative.S2.t
val forever : ('p, 'a) Applicative.S2.t -> ('p, 'b) Applicative.S2.t
end