doc-src/Tutorial/Datatype/triesels
author wenzelm
Fri, 02 Aug 2002 11:49:55 +0200
changeset 13443 1c3327c348b3
parent 5851 15ce4c1c8313
permissions -rw-r--r--
typedef: "open" option;
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"