]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/byte-arrays/hex/hex.factor
use reject instead of [ ... not ] filter.
[factor.git] / basis / byte-arrays / hex / hex.factor
index 5474f1b7458dd995656dea76df4e568080826a4f..41444b54e6a61502f768606b6987efb48b006cbc 100644 (file)
@@ -8,7 +8,7 @@ ERROR: odd-length-hex-string string ;
 
 SYNTAX: HEX{
     "}" parse-tokens concat
-    [ blank? not ] filter
+    [ blank? ] reject
     dup length even? [ odd-length-hex-string ] unless
     2 <groups> [ hex> ] B{ } map-as
     suffix! ;