diff samples/fib.tp @ 68:3a169ebb3224

Change strategy for handling true and false to avoid some initialization order problems and improve performance. Add support for negative integer literals. Update samples to reflect true/false change.
author Mike Pavone <pavone@retrodev.com>
date Sat, 14 Jul 2012 16:14:01 -0700
parents 9dd370530f69
children
line wrap: on
line diff
--- a/samples/fib.tp	Sat Jul 14 13:31:05 2012 -0700
+++ b/samples/fib.tp	Sat Jul 14 16:14:01 2012 -0700
@@ -1,16 +1,4 @@
 #{
-true <- #{
-  if:else <- :self trueblock :elseblock {
-    trueblock:
-  }
-}
-
-false <- #{
-  if:else <- :self trueblock :elseblock {
-    elseblock:
-  }
-}
-
 fib <- :n {
   if: n < 2 {
     1