package GT
Install
Dune Dependency
Authors
Maintainers
Sources
md5=9d18b96ada4d18fdda0b5f5698273145
sha512=945070bea4322bf8f7932a259af91432a3c109a05294ba2a27c1c2e9d2796ffb4cc32f6b8e28ff465311277696296ddda531a2ce818e590c09c64c5721d65e19
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.