package records

  1. Overview
  2. Docs
On This Page
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Record.Safe

Safe interface

This interface is similar to Unsafe except that the phantom type normally passed to declare is generated by a functor. This has the other advantage of making the layout argument implicit in the output module.

module type LAYOUT = sig ... end
val declare : string -> (module LAYOUT)

Create a new layout with the given name.

OCaml

Innovation. Community. Security.