module AnyShtream:Functor to create type-aware shtream modules. The base shtream modulesig
..end
Shtream
is indifferent to the element type. The functor
AnyShtream.Make
, on the other hand, produces a module with shtream
functions that know how read shtream from and write shtreams to
channels without a user-supplied reader or printer function.
Modules LineShtream
and StringShtream
are both created using
this functor, though some values in LineShtream
are specialized
further.
module type ELEM =sig
..end
AnyShtream.Make
.
module type ANYSHTREAM =sig
..end
AnyShtream.Make
.
module Make: