package yocaml

  1. Overview
  2. Docs
type 'a t = 'a Freer.t
include Preface.Specs.Applicative.SYNTAX with type 'a t := 'a Freer.t
include Preface_specs.Apply.SYNTAX with type 'a t := 'a Freer.t
val and+ : 'a Freer.t -> 'b Freer.t -> ('a * 'b) Freer.t

Product functor mapping from 'a t and 'b t to ('a * 'b) t.

include Preface.Specs.Monad.SYNTAX with type 'a t := 'a Freer.t
val let* : 'a Freer.t -> ('a -> 'b Freer.t) -> 'b Freer.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 Freer.t -> ('a -> 'b) -> 'b Freer.t

Syntactic shortcuts for flipped version of CORE.map:

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

OCaml

Innovation. Community. Security.