package alba

  1. Overview
  2. Docs
include Module_types.READABLE
type t

Type of the structure.

val has_more : t -> bool

Does the structure have more characters to read?

val peek : t -> char

peek r returns the next character.

val advance : t -> t

advance r advances the structure by one character.

val make : char -> t

make c makes a character reader with the character c.

OCaml

Innovation. Community. Security.