package promise_jsoo

  1. Overview
  2. Docs
Js_of_ocaml bindings to JS Promises with supplemental functions

Install

dune-project
 Dependency

Authors

Maintainers

Sources

promise_jsoo-0.4.3.tbz
sha256=7c889da114dd89eeb89d9d5a50ad895a1709a35fc50f33f852efa04c96a876d2
sha512=b3ebecd4789bf40d60b9efe5117535e58af663e0a1a9b51be25ecba41f15472b76de356472b2457eeca8a9d3b6deae4cb33eaf03be596af0606b5409d12ec3b6

doc/promise_jsoo/Promise/Syntax/index.html

Module Promise.SyntaxSource

Sourceval (>>|) : 'a t -> ('a -> 'b) -> 'b t

Equivalent to Promise.map

Sourceval (>>=) : 'a t -> ('a -> 'b t) -> 'b t

Equivalent to Promise.bind

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

Equivalent to Promise.map

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

Equivalent to Promise.bind