Module Base.Applicative_intf.S_to_S2

This module serves mostly as a partial check that S2 and S are in sync, but actually calling it is occasionally useful.

Parameters

X : S

Signature

type ('a, 'e) t = 'a X.t
val return : 'a ‑> ('a_t
val apply : ('a ‑> 'b'et ‑> ('a'et ‑> ('b'et
val map : ('a'et ‑> f:('a ‑> 'b) ‑> ('b'et
val map2 : ('a'et ‑> ('b'et ‑> f:('a ‑> 'b ‑> 'c) ‑> ('c'et
val map3 : ('a'et ‑> ('b'et ‑> ('c'et ‑> f:('a ‑> 'b ‑> 'c ‑> 'd) ‑> ('d'et
val all : ('a'et list ‑> ('a list, 'et
val all_ignore : (unit, 'et list ‑> (unit, 'et
val both : ('a'et ‑> ('b'et ‑> ('a * 'b'et
module Applicative_infix : sig ... end
include module type of Applicative_infix
val (<*>) : ('a ‑> 'b'et ‑> ('a'et ‑> ('b'et
val (<*) : ('a'et ‑> (unit, 'et ‑> ('a'et
val (*>) : (unit, 'et ‑> ('a'et ‑> ('a'et