package functoria

  1. Overview
  2. Docs

Code generation helpers.

val generated_header : unit -> string
val append : Stdlib.Format.formatter -> ('a, Stdlib.Format.formatter, unit, unit, unit, unit) Stdlib.format6 -> 'a
val newline : Stdlib.Format.formatter -> unit
val set_main_ml : string -> unit

Define the current main file.

val append_main : ('a, Stdlib.Format.formatter, unit, unit, unit, unit) Stdlib.format6 -> 'a

Add some string to main.ml.

val newline_main : unit -> unit

Add a newline to main.ml.

OCaml

Innovation. Community. Security.