package ocp-ocamlres

  1. Overview
  2. Docs
Manipulation, injection and extraction of embedded resources

Install

Dune Dependency

Authors

Maintainers

Sources

v0.4.tar.gz
sha256=658c2990e027e1e43a16290fd431f08c96b8630d91ac2b98003a9bc027179679
md5=725eb557e659c6febf8dc3044b323bd8

doc/ocplib-ocamlres/OCamlResFormats/OCaml/index.html

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.