package odds

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

The Monad module provides a monad to express dice formulas.

val return : 'a -> 'a t
val bind : 'a t -> ('a -> 'b t) -> 'b t
val (>>=) : 'a t -> ('a -> 'b t) -> 'b t
val map : 'a t -> ('a -> 'b) -> 'b t
val (>|=) : 'a t -> ('a -> 'b) -> 'b t
OCaml

Innovation. Community. Security.