package biotk

  1. Overview
  2. Docs

Line-oriented file formats

This module features a few primitives that may help dealing with file formats that are sequences of items that fit a single line, aka line-oriented formats

val fold : string -> init:'a -> f:('a -> int -> Line.t -> 'a) -> 'a
val fold_err : string -> init:'a -> f:('a -> int -> Line.t -> ('a, 'b) Stdlib.result) -> ('a, 'b) Stdlib.result
module Parser : sig ... end

A parser for lines

module type Item = sig ... end
module type S = sig ... end
module Make (Item : Item) : S with type item = Item.t
OCaml

Innovation. Community. Security.