module Row: sigtype item = [ `float of float | `int of int | `string of string ]
type t = item array
type item_type = [ `type_float | `type_int | `type_string ]
type t_type = item_type array
module Tags: sigBiocaml_tags.t.type t = [ `format of Biocaml_table.Row.t_type
| `separator of char
| `strict_about of [ `cell_type | `row_length ] ] list
`separator c adds c in the list of separators used.`strict_about something ensures that the format is fully
compliant with something (example: otherwise the parser may
ignore some errors to keep going). `tail_format array describes the format of the
columns of the row, if not provided everything is assumed to
be `type_string. val separators : t -> char listt.val strict_row_length : t -> bool`format _).val strict_cell_type : t -> bool`format _).val format : t -> Biocaml_table.Row.t_type optionval default_extension : t -> string"tsv", "csv", or "table").endmodule Error: sigtype line_parsing = [ `wrong_format of
[ `column_number | `float_of_string of string | `int_of_string of string ] *
Biocaml_table.Row.t_type * string ]
type t = line_parsing
val line_parsing_of_sexp : Sexplib.Sexp.t -> line_parsing val sexp_of_line_parsing : line_parsing -> Sexplib.Sexp.tendval of_line : ?separators:char list ->
?strict_row_length:bool ->
?strict_cell_type:bool ->
?format:t_type ->
Biocaml_internal_utils.Line.t ->
(t, [> Error.line_parsing ])
Biocaml_internal_utils.Result.tLine.t into a row while specifying a format.format is None (the default), then all the elements are
put in `string _ rows.[' '; '\t'].strict_row_length is true and format provided,
then check that the number of columns is at least the one
of the format.strict_cell_type is true and format provided,
then check that each cell has the exactly right format.Transform.t Creationsmodule Transform: sigval line_to_item : ?tags:Biocaml_table.Row.Tags.t ->
unit ->
(Biocaml_lines.item,
(Biocaml_table.Row.t,
[> `table_row of Biocaml_table.Row.Error.line_parsing ])
Biocaml_internal_utils.Result.t)
Biocaml_transform.t Biocaml_transform.t that converts lines to
table-rows according to the tags (default: Biocaml_table.Row.Tags.default).val item_to_line : ?tags:Biocaml_table.Row.Tags.t ->
unit -> (Biocaml_table.Row.t, Biocaml_lines.item) Biocaml_transform.t Biocaml_transform.t that converts rows to lines
using the first separator in the tags or '\t' if none
(default tags: Biocaml_table.Row.Tags.default).endval item_of_sexp : Sexplib.Sexp.t -> item val sexp_of_item : item -> Sexplib.Sexp.tval item_type_of_sexp : Sexplib.Sexp.t -> item_type val sexp_of_item_type : item_type -> Sexplib.Sexp.tval t_type_of_sexp : Sexplib.Sexp.t -> t_type val sexp_of_t_type : t_type -> Sexplib.Sexp.tend