module LineShtream:sig..end
Line.ts.
This module is the result of applying AnyShtream.Make to the
module LineShtream.LineElem.
Thus, shtreams handled by this module are compatible with the shtreams
of Shtream, StringShtream, and modules created by
AnyShtream.Make, but this module provides additional functions
for reading and writing Line.t Shtream.ts.
This module specializes shtream-creating functions to store source
information in the resulting lines.
typesourced =Line.t
AnyShtream.ELEM.initial type for LineShtream.module LineElem:AnyShtream.ELEMwith type 'a elem = Line.t and type initial = sourced
AnyShtream.Make to build LineShtream.
include AnyShtream.S with module Elem = LineElem
LineShtream come from the
result of apply AnyShtream.Make.val line_reader : ?source:Line.source -> Reader.t -> Pervasives.in_channel -> initial elemLine.t reader from a record reader. This is like
AnyShtream.S.elem_reader, but allows specifying a
Line.source to store in the lines.val annotate : Line.source -> Line.t t -> Line.t tseq or source fields, these are
rewritten to reflect the given Line.source and current sequence.