package bastet_lwt

  1. Overview
  2. Docs
Lwt implementations for bastet

Install

Dune Dependency

Authors

Maintainers

Sources

0.1.0.tar.gz
md5=4aef3007a0050ca5ec7de2a5cd91f9ee
sha512=f749201895759847acae88ae215668a704b91babe28555763ae6003725b730ba5031639348527eccf31610ee9e214b2270e72aeca1ce4987bd2a629b497296f4

Description

README

bastet_lwt

Lwt implementations for bastet

Installation

opam install bastet_lwt

Documentation

See documentation

Example

# #require "bastet";;
# #require "bastet_lwt";;

# let foo = Bastet_lwt.Monad.pure "foo"
  and bar = Bastet_lwt.Monad.pure "bar"
  and baz = Bastet_lwt.Monad.pure "baz";;
val foo : string Lwt.t = <abstr>
val bar : string Lwt.t = <abstr>
val baz : string Lwt.t = <abstr>

# let list_of_promises = [foo; bar; baz];;
val list_of_promises : string Lwt.t list = [<abstr>; <abstr>; <abstr>]

# Bastet_lwt.List.Traversable.sequence;;
- : 'a Lwt.t list -> 'a list Lwt.t = <fun>

# Bastet_lwt.List.Traversable.sequence list_of_promises;;
- : string list = ["foo"; "bar"; "baz"]

License

See LICENSE

Dependencies (4)

  1. dune >= "2.4.0"
  2. lwt >= "5.2.0"
  3. bastet >= "1.2.5"
  4. ocaml >= "4.06.1"

Dev Dependencies (4)

  1. odoc >= "1.5.0" & with-doc
  2. mdx >= "1.6.0" & with-test
  3. alcotest-lwt = "1.0.1" & with-test
  4. alcotest >= "1.0.1" & with-test

Used by

None

Conflicts

None