doc-src/Tutorial/Ifexpr/bool2if
changeset 15338 08519594b0e4
parent 15337 628d87767434
child 15339 a7b603bbc1e6
--- a/doc-src/Tutorial/Ifexpr/bool2if	Mon Nov 29 11:12:19 2004 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-consts bool2if :: boolex => ifex
-primrec
-"bool2if (Const b) = CIF b"
-"bool2if (Var x)   = VIF x"
-"bool2if (Neg b)   = IF (bool2if b) (CIF False) (CIF True)"
-"bool2if (And b c) = IF (bool2if b) (bool2if c) (CIF False)"