package ocp-ocamlres

  1. Overview
  2. Docs

Produces OCaml source contaiming a single root value which contains an OCamlRes tree to be used at runtime through the OCamlRes module.

Parameters

Signature

type t = SF.t
type params = {
  1. width : int;
    (*

    Maximum line width

    *)
  2. out_channel : Pervasives.out_channel;
    (*

    Specify the output

    *)
  3. use_variants : bool;
    (*

    Produce a sum type or use polymorphic variants

    *)
}
val output : params -> SF.t OCamlRes.Res.node list -> unit