module Cps_reader: sig end
The reader methods are invoked through continuation-passing style. This means that
instead of being expected to return a value to its caller, it is passed a "continuation"
(a procedure) to which it should pass the result in a tail-call.
class type t = object end
val make_string_reader : string -> t
val make_utf8_string_reader : string -> t
Utf8_char.Bad_encoding
if an invalid UTF-8 encoding is encountered.val make_utf8_file_reader : string -> t
Utf8_char.Bad_encoding
if an invalid UTF-8 encoding is encountered.Sys_error
if the file couldn't be opened.