package erm_xml

  1. Overview
  2. Docs
type 'a t = 'a UnitMonad.t
val return : 'a -> 'a t
val (>>=) : 'a t -> ('a -> 'b t) -> 'b t
val fail : exn -> 'a t
exception Located_exn of int * int * exn
type stream = LocatedStream(UnitMonad)(Input(UnitMonad)).stream = {
  1. mutable line : int;
  2. mutable col : int;
  3. mutable decoder : source -> int option Input(UnitMonad).t;
  4. stream : source;
}
val set_decoder : string -> stream -> unit
val make_stream : source -> stream
val error : ?stream:stream -> exn -> 'a t
val next_char : stream -> (unit -> 'a t) -> (int -> 'a t) -> 'a t
OCaml

Innovation. Community. Security.