Module Input.WithPP
Functor for building buffers with a preprocessor.
Parameters
Signature
val from_fun : ('a -> unit) -> string -> ('a -> string) -> 'a -> buffer
Same as
Input.from_fun
but uses the preprocessor.
val from_channel : ?filename:string -> Stdlib.in_channel -> buffer
Same as
Input.from_channel
but uses the preprocessor.
val from_file : string -> buffer
Same as
Input.from_file
but uses the preprocessor.
val from_string : ?filename:string -> string -> buffer
Same as
Input.from_string
but uses the preprocessor.