package GT
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=3f26c69a215066b42c6edde2ea4cd4516bdc9a01482b64355d3adf87ed85e179
sha512=7a5236618124f370aa373483255bd3efeb5c251005efa7d43aadb6be968df310b5f312b8066245544cfdf9972a7944f0ff2448bd09cb8a8e0bb5f8b1f9b5340b
doc/GT.View/View/index.html
Module View
Source
Viewing values of various types.
Combinatorial interface
Primitive viewers
Viewers for built-in types
Some predefined string viewers
Sequence combinators
Bracketing combinators
Functorial interface
Viewing lists of Viewable
types with explicit concatenation function.
Viewing arrays of Viewable
types with explicit concatenation function.
module SetC
(C : Concat)
(S : Set.S)
(V : Viewable with type t = S.elt) :
Viewable with type t = S.t
Viewing sets of Viewable
types with explicit concatenation function. Set items are ordered in according to their <b>string representations</b>.
module MapC
(C : Concat)
(M : Map.S)
(K : Viewable with type t = M.key)
(V : Viewable) :
Viewable with type t = V.t M.t
Viewing maps of Viewable
types with explicit concatenation function. Set items are ordered in according to their <b>string representations</b>.
module HashtblC
(C : Concat)
(M : Hashtbl.S)
(K : Viewable with type t = M.key)
(V : Viewable) :
Viewable with type t = V.t M.t
Viewing hash tables of Viewable
types with explicit concatenation function. Set items are ordered in according to their <b>string representations</b>.
Viewing lists of Viewable
types with concatenation with comma.
Viewing arrays of Viewable
types with concatenation with comma.
Viewing sets of Viewable
types with concatenation with comma. Set items are ordered in according to their <b>string representations</b>.
module Map
(M : Map.S)
(K : Viewable with type t = M.key)
(V : Viewable) :
Viewable with type t = V.t M.t
Viewing maps of Viewable
types with concatenation with comma. Set items are ordered in according to their <b>string representations</b>.
module Hashtbl
(M : Hashtbl.S)
(K : Viewable with type t = M.key)
(V : Viewable) :
Viewable with type t = V.t M.t
Viewing has htables of Viewable
types with concatenation with comma. Set items are ordered in according to their <b>string representations</b>.
module NamedPair
(N : sig ... end)
(F : Viewable)
(S : Viewable) :
Viewable with type t = F.t * S.t
Viewing named pairs. The first parameter supplies components names.
Viewing unnamed pairs.
Wrappers to make builtin types viewable
Viewing helpers
Concatenation function: concatWithDelimiter x y delim
returns x ^ delim ^ y
if x is not empty and y
otherwise.
Concatenation with comma.
Concatenation with semicolon.