preface

An opinionated library for function programming (à La Haskell)
IN THIS PACKAGE
Module Preface_specs . Bind . API . Syntax
type 'a t = 'a t

The type held by the Monad.

val let* : 'a t -> ( 'a -> 'b t ) -> 'b t

Syntactic shortcuts for flipped version of CORE.bind:

let* x = e in f is equals to bind (fun x -> f) e.

val let+ : 'a t -> ( 'a -> 'b ) -> 'b t

Syntactic shortcuts for flipped version of CORE.map:

let+ x = e in f is equals to map (fun x -> f) e.