package ocp-ocamlres

  1. Overview
  2. Docs

Module OCamlResSubFormatsSource

Formatters for resource leaves in the tree structure

Sourcemodule type SubFormat = sig ... end

The type of subformats, as passed to format functors.

Sourcemodule Int : SubFormat with type t = int

A probably useless subformat, for demonstration purposes

Sourcemodule Raw : SubFormat with type t = string

The default format (raw contents as a string)

Sourcemodule Lines : SubFormat with type t = string list

Splits the input into lines

OCaml

Innovation. Community. Security.