package alba

  1. Overview
  2. Docs
type t

Type of the structure.

val needs_more : t -> bool

Is it possible to write more characters to the structure?

val putc : t -> char -> t

putc w c writes the character c to the structure and returns a structure which might accept more characters.

val putend : t -> t

putend w signals to the structure w that there are no more characters available to write (e.g. eof reached).

OCaml

Innovation. Community. Security.