package plist-xml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

The module type of synchronous or asynchronous I/O.

type s

The phantom type for the effect (Markup.sync or Markup.async).

type _ io

The effect type.

val next : ('a, s) Markup.stream -> 'a option io

See Markup.next and Markup.ASYNCHRONOUS.next.

val peek : ('a, s) Markup.stream -> 'a option io

See Markup.peek and Markup.ASYNCHRONOUS.peek.

val parse_xml : ?report:(Markup.location -> Markup.Error.t -> unit io) -> ?encoding:Markup.Encoding.t -> ?namespace:(string -> string option) -> ?entity:(string -> string option) -> ?context:[< `Document | `Fragment ] -> (char, s) Markup.stream -> s Markup.parser

See the documentation for Markup.parse_xml and Markup.ASYNCHRONOUS.parse_xml.

val bind : 'a io -> ('a -> 'b io) -> 'b io

Monadic bind.

val return : 'a -> 'a io

Monadic return.