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 : int -> char -> t

make n c makes a character filler with n characters c.

OCaml

Innovation. Community. Security.