package fmlib

  1. Overview
  2. Docs
Functional monadic library

Install

Dune Dependency

Authors

Maintainers

Sources

0.2.0.tar.gz
sha256=d47f6539af49a4c3e947dbfbe416c1e78d534897cd6d9d8e3660aae0cf8d9494
md5=d649b8a62403362bd3a24cbf1a9af590

doc/fmlib.fmlib_std/Fmlib_std/Result/Monad/index.html

Module Result.Monad

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.