OCamlResFormats.OCamlThis 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.
module SF : OCamlResSubFormats.SubFormattype data = SF.tThe type of leaves in the resource tree
type params = ocaml_format_paramsParameters to the output function
val output : params -> data OCamlRes.Res.root -> unitPretty print a resource store to a PPrint document