package alba

  1. Overview
  2. Docs
Alba compiler

Install

Dune Dependency

Authors

Maintainers

Sources

0.4.2.tar.gz
sha256=203ee151ce793a977b2d3e66f8b3a0cd7a82cc7f15550c63d88cb30c71eb5f95
md5=64367c393f80ca784f88d07155da4fb0

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.