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