Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Non_csv.Character_separated_without_quotingSourceCharacter_separated_without_quoting parses fields separated by a character, where fields may contain escaped characters (e,g, \n) but fields may not be quoted (e.g., "foo bar").
All readers defined below will raise if they encounter unparsable content.
val of_reader :
(Header.t,
?quote:char ->
sep:char ->
Async.Reader.t ->
Row.t Async.Pipe.Reader.t)
Shared.readerof_reader ?quote ?strip ?skip_lines ~sep ~header r returns a row pipe based on data read from the provided reader. sep is used as the separator between fields, and is assumed to be escaped with \ unless quote is given.
val create_reader :
(Header.t,
?quote:char ->
sep:char ->
string ->
Row.t Async.Pipe.Reader.t Async.Deferred.t)
Shared.readercreate_reader ?strip ?skip_lines ~header filename same as of_reader, but creates the reader for you