Commit graph

16 commits

Author SHA1 Message Date
Simon Cruanes
25d42d5b8c
doc 2023-08-29 14:22:13 -04:00
Simon Cruanes
aa0dea3e34
add Fut.{reify_error,bind_reify_error} 2023-07-26 16:22:42 -04:00
Simon Cruanes
e855c99bec
update doc for Fut 2023-07-09 19:49:27 -04:00
Simon Cruanes
b07d460b3f
port cpp.ml from containers, replace previous codegen with it
now OCaml 5-only features are truly available only on OCaml 5, instead
of just relying on the user reading the docstring.
2023-07-09 19:49:24 -04:00
Simon Cruanes
1d23d2d7a1
rename Fut.await_exn to Fut.await 2023-06-20 22:43:33 -04:00
Simon Cruanes
e26029ab90
feat: add Fut.await and Fut.await_exn for OCaml >= 5.0
this uses suspension (based on `Suspend_`) to wait for completion of the
future.
2023-06-20 22:43:13 -04:00
Simon Cruanes
b8588f2d65
feat: add Fut.for_list 2023-06-15 11:59:10 -04:00
Simon Cruanes
f76b713556
add Fut.is_done 2023-06-15 10:24:20 -04:00
Simon Cruanes
debdc8fc31
add Fut.for_array to easily iterate on an array in parallel 2023-06-14 11:38:01 -04:00
Simon Cruanes
dd5a177a5f
add Fut.get_or_fail{,_exn} 2023-06-14 11:33:24 -04:00
Simon Cruanes
d766b362f1
feat fut: add infix, builds a INFIX as a 1st class module 2023-06-12 22:06:48 -04:00
Simon Cruanes
7c853861d8
feat fut: add join 2023-06-12 22:06:43 -04:00
Simon Cruanes
ed4cc2550b
a warning in doc 2023-06-08 14:44:15 -04:00
Simon Cruanes
bd1ada40d4
Fut: add Infix_local 2023-06-06 23:34:06 -04:00
Simon Cruanes
b7ba8d0e9b
doc 2023-06-01 22:37:56 -04:00
Simon Cruanes
d87dff529d
split into multiple files 2023-06-01 22:04:06 -04:00