module Kwcsv:sig
..end
include Kwio.EOL
val record : ?quote:char -> ?sep:char -> ?eol:eol -> Pervasives.in_channel -> string list
exception CSV of int * string
type
eoltype =
| |
LF |
| |
CR |
| |
CRLF |
| |
AUTO |
Kwcsv.Fold.fold
input CSV files.val string_of_eol : eoltype -> string
val eol_of_string : string -> eoltype
module type PortalineType =sig
..end
module Portaline:sig
..end
module type PF =sig
..end
module type Uutflike =sig
..end
Kwcsv.Unicode
.
module AUTO:sig
..end
module Unicode:
Uutf
.
module Fold:
val fold : ?eol:eoltype ->
?q:string ->
?comma:string ->
?warn:(int -> unit) ->
('a -> int -> string list -> 'a) -> 'a -> Pervasives.in_channel -> 'a
Kwcsv.Fold.fold
for legacy applications.
This can fail surprisingly on Unicode CSV files that begin with a Unicode byte order mark, by corrupting the first field-name in a header line.
You should really use Uutf
to make a Unicode-aware version.