package monads

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type ('a, 'e) t
val pure : 'a -> ('a, 'e) t

pure x creates a computation that results in x.

val zero : unit -> ('a, 'e) t

zero () creates a computation that has no result.

OCaml

Innovation. Community. Security.