The usual mapping on aggregate types: apply a function to all elements of the tree.
List of Import References :
See BOOL
See DENOTATION
See Nat
See Option
See Seq
See Tree
SIGNATURE TreeMap[from, to]
$Date: 2010-09-30 18:24:17 +0200 (Do, 30. Sep 2010) $ ($Revision: 616 $)
IMPORT Tree[from] ONLY tree Tree[to] ONLY tree
from
is the original data type of the elements of the tree,
to
is the new data type.
SORT from to
FUN * : (from -> to) ** tree[from] -> tree[to]
next node: TreeMapEnv,
prev node: TreeIndex,
up to node: Subsystem Binary Trees