bastet_async

Async implementations for bastet
README

Async implementations for bastet

Installation

opam install bastet_async

Documentation

See documentation

Example

# #require "bastet";;
# #require "bastet_async";;

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

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

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

# Bastet_async.List.Traversable.sequence list_of_promises;;
- : string list Bastet_async.Monad.t = <abstr>

License

See LICENSE

Install
Published
27 Mar 2020
Maintainers
Sources
0.1.0.tar.gz
md5=e15663969dac6d7013205e2c5750fd21
sha512=4dd0476f5285fed7dc570625b3fddf9546866f488ab4cd6933e9f9cc3c9947d84dba9d18bab71fd65aed0dc8826e01fa2e04291c53ece6a31c0e887e0e18439e
Dependencies
dune
>= "2.4.0"
odoc
>= "1.5.0" & with-doc
mdx
>= "1.6.0" & with-test
alcotest-async
>= "1.0.1" & < "1.6.0" & with-test
alcotest
>= "1.0.1" & < "1.6.0" & with-test
core
with-test & >= "v0.12.0"
async_unix
with-test & >= "v0.12.0"
async_kernel
>= "v0.12.0"
bastet
>= "1.2.5"
ocaml
>= "4.06.1"
Reverse Dependencies