doc-src/Tutorial/CodeGen/value
author wenzelm
Sat, 01 Jul 2000 19:49:20 +0200
changeset 9226 cbe6144f0f15
parent 5377 efb799c5ed3c
permissions -rw-r--r--
tuned;
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5377
efb799c5ed3c *** empty log message ***
nipkow
parents:
diff changeset
     1
consts value :: ('a => 'v) => ('a,'v)expr => 'v
efb799c5ed3c *** empty log message ***
nipkow
parents:
diff changeset
     2
primrec
efb799c5ed3c *** empty log message ***
nipkow
parents:
diff changeset
     3
"value env (Cex v) = v"
efb799c5ed3c *** empty log message ***
nipkow
parents:
diff changeset
     4
"value env (Vex a) = env a"
efb799c5ed3c *** empty log message ***
nipkow
parents:
diff changeset
     5
"value env (Bex f e1 e2) = f (value env e1) (value env e2)"