package sugar

  1. Overview
  2. Docs

Sugar module signatures.

module Params : sig ... end

Signatures for the dependencies used in Sugar's module builders.

module type Promise = sig ... end
module type Strict_promise = sig ... end

This interface specifies an error handling layer for monadic computations.

module type Result_partials = sig ... end

Common definitions for the default result monad.

module type Result = sig ... end

The signature for the default result monad.

module type Strict_result = sig ... end

The signature for a result monad that has some awareness about unexpected exceptions.

OCaml

Innovation. Community. Security.