doc-src/Tutorial/Misc/ConstDefs.thy
author berghofe
Thu, 20 Dec 2001 14:57:15 +0100
changeset 12555 e6d7f040fdc7
parent 5377 efb799c5ed3c
permissions -rw-r--r--
"code" attribute is now managed by basic code generator module.

ConstDefs = Types +
constdefs nand :: gate
         "nand A B == ~(A & B)"
          exor :: gate
         "exor A B == A & ~B | ~A & B"
end