]> gitweb.factorcode.org Git - factor.git/commitdiff
add 4drop to extra shuffle
authorDoug Coleman <doug.coleman@gmail.com>
Sun, 9 Dec 2007 23:49:33 +0000 (17:49 -0600)
committerDoug Coleman <doug.coleman@gmail.com>
Sun, 9 Dec 2007 23:49:33 +0000 (17:49 -0600)
extra/shuffle/shuffle.factor

index b2523eddd2631c1ba9a9077da4b6954e45c7c57d..b0fdd952d5e316899c11cdf48c7bb56b860f49cd 100644 (file)
@@ -29,4 +29,6 @@ MACRO: ntuck ( n -- ) 2 + [ dup , -nrot ] bake ;
 
 : 4dup ( a b c d -- a b c d a b c d ) 4 ndup ; inline
 
+: 4drop ( a b c d -- ) 3drop drop ; inline
+
 : tuckd ( x y z -- z x y z ) 2 ntuck ; inline