package base

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Parameters

Signature

val return : 'a -> 'a X.t
val map : 'a X.t -> f:('a -> 'b) -> 'b X.t
val both : 'a X.t -> 'b X.t -> ('a * 'b) X.t
val (<*>) : ('a -> 'b) X.t -> 'a X.t -> 'b X.t

same as apply

val (<*) : 'a X.t -> unit X.t -> 'a X.t
val (*>) : unit X.t -> 'a X.t -> 'a X.t
val (>>|) : 'a X.t -> ('a -> 'b) -> 'b X.t
val apply : ('a -> 'b) X.t -> 'a X.t -> 'b X.t
val map2 : 'a X.t -> 'b X.t -> f:('a -> 'b -> 'c) -> 'c X.t
val map3 : 'a X.t -> 'b X.t -> 'c X.t -> f:('a -> 'b -> 'c -> 'd) -> 'd X.t
val all : 'a X.t list -> 'a list X.t
val all_unit : unit X.t list -> unit X.t
val all_ignore : unit X.t list -> unit X.t
  • deprecated [since 2018-02] Use [all_unit]
module Applicative_infix : sig ... end
OCaml

Innovation. Community. Security.