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