package GT
Install
Dune Dependency
Authors
Maintainers
Sources
md5=9d18b96ada4d18fdda0b5f5698273145
sha512=945070bea4322bf8f7932a259af91432a3c109a05294ba2a27c1c2e9d2796ffb4cc32f6b8e28ff465311277696296ddda531a2ce818e590c09c64c5721d65e19
doc/GT.HTML/HTML/index.html
Module HTML
Source
Viewing values of various types in HTML format.
Combinatorial interface
Escapes special HTML symbols ("<", ">", "&", """").
Viewer constructors for build-in types
Sequence constructors
Some predefined HTML-specific viewers
Tagged viewer: tag name p
surrounds p
with open and close tags with name name
. Optional argument attrs
can be given to provide attributes for the tag (for example, tag "table" ~attrs:"align=center" p
).
Some conventional HTML tags. Optional argument attrs
provides HTML tag attributes
Some conventional HTML inputs. Optional argument attrs
provides HTML tag attributes
Helper module to provide anchors to values
Functor anchor takes one argument which describes type for which values anchors are set and name to distinguish namespaces (if any).
Functorial interface
Functor to provide list to HTML generation.
Functor to provide array to HTML generation.
Functor to provide set to HTML generation. Set items are ordered in according to their <b>string representations</b>.
module Map
(M : Map.S)
(K : Element with type t = M.key)
(V : Element) :
Element with type t = V.t M.t
Functor to provide map to HTML generation. Set items are ordered in according to their <b>string representations</b>.
module Hashtbl
(M : Hashtbl.S)
(K : Element with type t = M.key)
(V : Element) :
Element with type t = V.t M.t
Functor to provide hash table to HTML generation. Set items are ordered in according to their <b>string representations</b>.
module NamedPair
(N : sig ... end)
(F : Element)
(S : Element) :
Element with type t = F.t * S.t
Functor to provide named pair to HTML generation. The first parameter sets component names.
Functor to provide unnamed pair to HTML generation.