package erm_xmpp

  1. Overview
  2. Docs
type input = XmllexerE.IterMonad.input = {
  1. buf : string;
  2. mutable i : int;
  3. mutable len : int;
  4. mutable is_final : bool;
}
val make_chunk : int -> input
val is_empty : input -> bool
type !'a t = 'a XmllexerE.IterMonad.t =
  1. | Return of 'a
  2. | Continue of input -> 'a t
val return : 'a -> 'a t
val fail : exn -> 'a
val bind : 'a t -> ('a -> 'b t) -> 'b t
val (>>=) : 'a t -> ('a -> 'b t) -> 'b t
exception IllegalCharacter
val get : input -> int option t
type stream = input -> int option t
val set_decoder : 'a -> 'b -> unit
val make_stream : unit -> input -> int option t
exception XmlError of string
val error : ?stream:'a -> exn -> 'b
val next_char : (input -> 'a option t) -> (unit -> 'b t) -> ('a -> 'b t) -> 'b t