package GT
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=3f26c69a215066b42c6edde2ea4cd4516bdc9a01482b64355d3adf87ed85e179
sha512=7a5236618124f370aa373483255bd3efeb5c251005efa7d43aadb6be968df310b5f312b8066245544cfdf9972a7944f0ff2448bd09cb8a8e0bb5f8b1f9b5340b
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.