preface.make
Via.Syntax
preface
preface.core
preface.specs
preface.stdlib
type 'a t = 'a t
The type held by the Monad.
Monad
val (let*) : 'a t -> ('a -> 'b t) -> 'b t
Syntactic shortcuts for flipped version of CORE.bind:
CORE.bind
let* x = e in f is equals to bind (fun x -> f) e.
let* x = e in f
bind (fun x -> f) e
val (let+) : 'a t -> ('a -> 'b) -> 'b t
Syntactic shortcuts for flipped version of CORE.map:
CORE.map
let+ x = e in f is equals to map (fun x -> f) e.
let+ x = e in f
map (fun x -> f) e