package fmlib

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

The result type encapsulated in a module which satisfies the monadic interface.

Parameters

module E : Interfaces.ANY

Signature

type 'a t = ('a, E.t) result
val return : 'a -> 'a t
val fail : E.t -> 'a t
val to_option : 'a t -> 'a option
val (>>=) : 'a t -> ('a -> 'b t) -> 'b t
val let* : 'a t -> ('a -> 'b t) -> 'b t
OCaml

Innovation. Community. Security.