Module Biocaml_table.Row (.ml)

module Row: sig .. end
Definition of rows

type item = [ `float of float | `int of int | `string of string ] 
Type row elements (or “cells”).
type t = item array 
A single row.
type item_type = [ `type_float | `type_int | `type_string ] 
Definition of the type of a cell.
type t_type = item_type array 
Definition of the type of a row.
val of_line : ?separators:char list ->
?strict:bool ->
?format:t_type ->
Biocaml_line.t ->
(t,
[> `wrong_format of
[> `column_number
| `float_of_string of string
| `int_of_string of string ] *
t_type * string ])
Core.Result.t
Parse a Line.t into a row while specifying a format.
val to_line : sep:string -> t -> Biocaml_line.t
val item_of_sexp : Sexplib.Sexp.t -> item
val item_of_sexp__ : Sexplib.Sexp.t -> item
val sexp_of_item : item -> Sexplib.Sexp.t
Type row elements (or “cells”).
val t_of_sexp : Sexplib.Sexp.t -> t
val sexp_of_t : t -> Sexplib.Sexp.t
A single row.
val item_type_of_sexp : Sexplib.Sexp.t -> item_type
val item_type_of_sexp__ : Sexplib.Sexp.t -> item_type
val sexp_of_item_type : item_type -> Sexplib.Sexp.t
Definition of the type of a cell.
val t_type_of_sexp : Sexplib.Sexp.t -> t_type
val sexp_of_t_type : t_type -> Sexplib.Sexp.t
Definition of the type of a row.

Parse a Line.t into a row while specifying a format.

Write the row to a Line.t.