Module Ledes.Ledes98biSource

Parser validator for LEDES98BI format

Sourcetype input = string

type of input

Sourcetype err = string

type of error

Sourceval parse_and_validate_greedy : input list -> err list

parse_and_validate_greedy n takes n as lines from a LEDES98BI file and collect all parsing and validation error(s). This is the slow path.

Sourceval parse_and_validate_eager : input list -> unit

parse_and_validate_eager n takes n as lines from a LEDES98BI file and eagerly bubbles up the first error. This is the fast path