package mechaml

  1. Overview
  2. Docs

Format

This module contains type definitions and helpers to deal with some of the HTML5 formatted input types, such as dates, colors, range, etc. Each module corresponds to a form input type and implements a to_string function that generates a well-formed string from an internal representation. The generated string may then be put in a form using Page.Form.Field.set, for example. Each module provides a make function to create and manipulate this representation.

module type S = sig ... end

The common interface of all formatting modules

module Color : sig ... end
module Date : sig ... end
module Time : sig ... end
OCaml

Innovation. Community. Security.