package markup
Module type Markup.ASYNCHRONOUSSource
Markup.ml interface for monadic I/O libraries such as Lwt and Async.
This signature is implemented by Markup_lwt, with a few additions.
Each function here corresponds directly to the function in the basic module Markup that has the same name. So, see Markup for details.
The only difference is that functions here, all of which are higher-order functions, take a function as argument that returns an 'a io promise, rather than returning an already-computed value.
Promises
Promise type. Replaced by 'a Lwt.t in Markup_lwt.
Encodings
Asynchronous counterpart to Markup.Encoding.
XML
HTML
I/O
Stream manipulation
load s converts a general stream s to a synchronous stream by buffering it.