package clarity

  1. Overview
  2. Docs
type 'a t = 'a

Identity type

include Monad.Basic with type 'a t := 'a t
include Applicative.Basic with type 'a t := 'a t
include Functor.Basic with type 'a t := 'a t
val map : ('a -> 'b) -> 'a t -> 'b t
val pure : 'a -> 'a t
val ap : ('a -> 'b) t -> (unit -> 'a t) -> 'b t
val bind : ('a -> 'b t) -> 'a t -> 'b t
OCaml

Innovation. Community. Security.