doc-src/Tutorial/Ifexpr/value
author wenzelm
Thu, 01 Jul 1999 21:20:57 +0200
changeset 6876 4ae9c47f2b6b
parent 5377 efb799c5ed3c
permissions -rw-r--r--
have_thmss: more_ths; simple_have_thmss;

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)"