package ocp-ocamlres

  1. Overview
  2. Docs

The default format (raw contents as a string)

type t = string
val from_raw : 'a -> 'b -> 'b
val to_raw : 'a -> 'b -> 'b
val pprint : 'a -> string -> PPrint.document

Splits a string into a flow of escaped characters. Respects the original line feeds if it ressembles a text file.

val pprint_header : 'a -> 'b -> 'c option
val name : 'a -> 'b -> string
val type_name : 'a -> 'b -> string
val mod_name : 'a -> 'b -> string