package cosovo

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type error_location = {
  1. e_line_number : int;
  2. e_start : int;
  3. e_end : int;
}
val string_of_error_location : error_location -> string
type error = [
  1. | `SyntaxError of error_location
  2. | `UnterminatedString of int
  3. | `IntOverflow of int * string
]
val string_of_error : error -> string
type value = [
  1. | `Int of int
  2. | `Float of float
  3. | `String of string
]
type dense = value list
type sparse = (int * value) list
type row = [
  1. | `Sparse of sparse
  2. | `Dense of dense
]
type row_or_error = (row, error) Stdlib.result
type header = [
  1. | `Sparse of (int * string) list
  2. | `Dense of string list
]
type row_seq = row_or_error Stdlib.Seq.t
val of_channel : no_header:bool -> Stdlib.in_channel -> (header option * row_seq, error) Stdlib.result
val row_of_string : string -> (row, [ error | `EOF ]) Stdlib.result