package biocaml

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

Module Biocaml_unix.LinesSource

Manipulate the lines of a file.

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

Parse a stream of characters into a stream of lines.

Sourceval of_channel : Core.In_channel.t -> item Stream.t

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

Sourceval of_string : string -> item Stream.t

Get a stream of lines out a string

Sourceval to_channel : item Stream.t -> Core.Out_channel.t -> unit

Write a stream of lines to an output-channel.

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

Buffer used to parse strings into lines.

Sourcemodule Transform : sig ... end

Transforms from/to Lines.item.

OCaml

Innovation. Community. Security.