package alba

  1. Overview
  2. Docs
Alba compiler

Install

Dune Dependency

Authors

Maintainers

Sources

0.4.4.tar.gz
sha256=4817038301d3e45bac9edf7e6f2fc8bf0a6d78e76e02ad7ea33ef69bcc17df3b
md5=25234357587126685d64f16236167937

doc/alba.fmlib/Fmlib/Common/String_reader/index.html

Module Common.String_reader

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 of_string : string -> t

of_string s creates a readable structure of the string s.

val of_substring : string -> int -> int -> t

of_substring s start len creates a readable structure of the substring of s starting at position start and having length len.

OCaml

Innovation. Community. Security.