doc-src/Tutorial/Datatype/triesels
author nipkow
Thu, 12 Nov 1998 16:45:40 +0100
changeset 5851 15ce4c1c8313
permissions -rw-r--r--
New section on advanced datatypes.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5851
15ce4c1c8313 New section on advanced datatypes.
nipkow
parents:
diff changeset
     1
consts value :: ('a,'v)trie => 'v option
15ce4c1c8313 New section on advanced datatypes.
nipkow
parents:
diff changeset
     2
       alist :: "('a,'v)trie => ('a * ('a,'v)trie)list"
15ce4c1c8313 New section on advanced datatypes.
nipkow
parents:
diff changeset
     3
primrec "value(Trie ov al) = ov"
15ce4c1c8313 New section on advanced datatypes.
nipkow
parents:
diff changeset
     4
primrec "alist(Trie ov al) = al"