doc-src/Tutorial/Datatype/tsubst
author paulson
Tue, 25 Dec 2001 10:02:01 +0100
changeset 12595 0480d02221b8
parent 5851 15ce4c1c8313
permissions -rw-r--r--
conversion to Isar
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5851
15ce4c1c8313 New section on advanced datatypes.
nipkow
parents:
diff changeset
     1
primrec
15ce4c1c8313 New section on advanced datatypes.
nipkow
parents:
diff changeset
     2
  "subst s (Var x) = s x"
15ce4c1c8313 New section on advanced datatypes.
nipkow
parents:
diff changeset
     3
  "subst s (App f ts) = App f (substs s ts)"