]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/sequences/lib/lib.factor
if-empty changes
[factor.git] / extra / sequences / lib / lib.factor
index 2eb3c44b421755f7380b9fc21beec35525011f6b..225b3b7d9ed84dc6fed4eb25245dacff2c9fc6f3 100755 (executable)
@@ -189,12 +189,3 @@ PRIVATE>
 
 : ?nth* ( n seq -- elt/f ? )
     2dup bounds-check? [ nth-unsafe t ] [ 2drop f f ] if ; flushable
-
-: if-seq ( seq quot1 quot2 -- ) [ f like ] 2dip if* ; inline
-: if-empty ( seq quot1 quot2 -- ) swap if-seq ; inline
-
-: when-empty ( seq quot1 -- ) [ ] if-empty ; inline
-
-: unless-empty ( seq quot1 -- ) [ ] swap if-empty ; inline
-