doc-src/Tutorial/Ifexpr/value
author berghofe
Wed, 07 Aug 2002 16:50:08 +0200
changeset 13471 aed3aef2a0ca
parent 5377 efb799c5ed3c
permissions -rw-r--r--
Removed (now unneeded) declaration of realizer for induction on datatype b.

consts value :: boolex => (nat => bool) => bool
primrec
"value (Const b) env = b"
"value (Var x)   env = env x"
"value (Neg b)   env = (~ value b env)"
"value (And b c) env = (value b env & value c env)"