package pacomb

  1. Overview
  2. Docs

Functor for building buffers with a preprocessor.

Parameters

module PP : Preprocessor

Signature

val from_fun : ('a -> unit) -> context -> string -> ('a -> string * bool) -> 'a -> buffer

Same as Input.from_fun but uses the preprocessor.

val from_channel : ?utf8:context -> ?filename:string -> Stdlib.in_channel -> buffer

Same as Input.from_channel but uses the preprocessor.

val from_file : ?utf8:context -> string -> buffer

Same as Input.from_file but uses the preprocessor.

val from_string : ?utf8:context -> ?filename:string -> string -> buffer

Same as Input.from_string but uses the preprocessor.

OCaml

Innovation. Community. Security.