]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/compiler/tree/normalization/normalization-tests.factor
Removing more >r/r> usages
[factor.git] / basis / compiler / tree / normalization / normalization-tests.factor
index c4a97fcc92a09a9b4337edb0fd8feab768bab494..5ac3c57abed18f0948335c50cfbaea511d430f7e 100644 (file)
@@ -34,8 +34,8 @@ sequences accessors tools.test kernel math ;
 [ ] [ [ [ 1 ] [ 2 ] if + * ] test-normalization ] unit-test
 
 DEFER: bbb
-: aaa ( x -- ) dup [ dup >r bbb r> aaa ] [ drop ] if ; inline recursive
-: bbb ( x -- ) >r drop 0 r> aaa ; inline recursive
+: aaa ( x -- ) dup [ dup [ bbb ] dip aaa ] [ drop ] if ; inline recursive
+: bbb ( x -- ) [ drop 0 ] dip aaa ; inline recursive
 
 [ ] [ [ bbb ] test-normalization ] unit-test