package GT
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=fe0aa1e40afd36f7c1fcd992c408261d0b5645cea080ea98bc5dbf0b8682187f
sha512=8db0f2d8db4d7c11cf55835ba2b6c4f5ee1e8c09a4bdc2a9c57d50958ff8654688d4c8596079dfd1027d8b9e878f6e1b0d14341bcdf5f63cf96a45b2a571f3cb
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.