preface.stdlib
Monad.Syntax
preface
preface.core
preface.make
preface.specs
val (let*) : 'a t -> ('a -> 'b t) -> 'b t
Syntaxic 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
Syntaxic 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