package ocp-ocamlres

  1. Overview
  2. Docs

Module OCamlResFormats.OCamlSource

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

Sourcetype data = SF.t

The type of leaves in the resource tree

Parameters to the output function

Sourceval output : params -> data OCamlRes.Res.root -> unit

Pretty print a resource store to a PPrint document

OCaml

Innovation. Community. Security.