Keep up to date with interface changes in Async_kernel
, Async_extra
and
Async_unix
.
-
Added
Async.Std.Printf
module so that one doesn't unintentionally use blockingCore.Std.Printf
functions in an Async program.There was much pre-existing code that did this via:
: open Core.Std : open Async.Std
Async.Std.Printf
defines blocking functions (e.gprintf
,eprintf
) to cause a type error, but leaves Async-friendly functions (e.g.sprintf
,ksprintf
) untouched.Replaced uses of
Printf.*
, withCore.Std.Printf.*
where needed.
- Include some previously-omitted benchmarks
Keep up to date with interface changes in Async_kernel
, Async_extra
and
Async_unix
.
Added tests and updated examples
- update tests
- add a dns example
- Updated the sound.ml example
- Bump version number
-
Added function
Monitor.kill
, which kills a monitor and all its descendants.This prevents any jobs from ever running in the monitor again.
- Switched
Async.Std
's toplevel bindings forDeferred.Or_error
'sbind
andmap
to useDeferred.Result
. This allows them to be used with any'error
type, rather than justError.t
.
- Added
val _squelch_unused_module_warning_
toAsync.Std
.