package biocaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Manipulate the lines of a file.

type item = Line.t
include sig ... end
val item_of_sexp : Sexplib.Sexp.t -> item
val sexp_of_item : item -> Sexplib.Sexp.t
module MakeIO (Future : Future.S) : sig ... end
include sig ... end
val write_file : ?perm:int -> ?append:bool -> string -> item Future_unix.Pipe.Reader.t -> unit Future_unix.Deferred.t
val of_char_stream : char Stream.t -> item Stream.t

Parse a stream of characters into a stream of lines.

val of_channel : Pervasives.in_channel -> item Stream.t

Get a stream of lines out of an input-channel.

val of_string : string -> item Stream.t

Get a stream of lines out a string

val to_channel : item Stream.t -> Pervasives.out_channel -> unit

Write a stream of lines to an output-channel.

val with_file : string -> f:(Line.t Stream.t -> 'a) -> 'a
module Buffer : sig ... end

Buffer used to parse strings into lines.

module Transform : sig ... end

Transforms from/to Lines.item.

OCaml

Innovation. Community. Security.