package clarity

  1. Overview
  2. Docs

Parameters

module A : Basic

Signature

include Basic with type 'a t := 'a A.t
include Functor.Basic with type 'a t := 'a A.t
val pure : 'a -> 'a A.t
val ap : ('a -> 'b) A.t -> (unit -> 'a A.t) -> 'b A.t
include Functor.S with type 'a t := 'a A.t
include Functor.Basic with type 'a t := 'a A.t
val map : ('a -> 'b) -> 'a A.t -> 'b A.t
val (>|=) : 'a A.t -> ('a -> 'b) -> 'b A.t
val replace : 'a -> 'b A.t -> 'a A.t
val void : 'a A.t -> unit A.t
val ap' : ('a -> 'b) A.t -> 'a A.t -> 'b A.t
val (<*>) : ('a -> 'b) A.t -> 'a A.t -> 'b A.t
val (<~>) : ('a -> 'b) A.t -> (unit -> 'a A.t) -> 'b A.t
val discard_left : 'a A.t -> (unit -> 'b A.t) -> 'b A.t
val discard_right : 'a A.t -> (unit -> 'b A.t) -> 'a A.t
val repeat : int -> 'a A.t -> 'a list A.t
val repeat_ : int -> 'a A.t -> unit A.t
val forever : 'a A.t -> 'b A.t
OCaml

Innovation. Community. Security.