package ocp-ocamlres

  1. Overview
  2. Docs

Formatters for resource leaves in the tree structure

module type SubFormat = sig ... end

The type of subformats, as passed to format functors.

module Int : SubFormat with type t = int

A probably useless subformat, for demonstration purposes

module Raw : SubFormat with type t = string

The default format (raw contents as a string)

module Lines : SubFormat with type t = string list

Splits the input into lines