package ocp-ocamlres

  1. Overview
  2. Docs

This format produces OCaml source code with OCaml submodules for directories and OCaml value definitions for files. It is parametric in the type of leaves and the pretty printing function. It is used by the command line tool as instanciated in OCamlResRegistry.

Parameters

Signature

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

    Maximum line width

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

    Specify the output

    *)
}
val esc : string -> string
val esc_name : string -> string
val esc_dir : string -> string
val output : params -> SF.t OCamlRes.Res.node list -> unit
OCaml

Innovation. Community. Security.