]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/metar/metar.factor
core: subseq-index? -> subseq-of?
[factor.git] / extra / metar / metar.factor
index d54c8c2c78d4eec541bf8b85fa6ff6658181f7f4..230081f620c316f695095a8eddfe9a46702e9dc8 100644 (file)
@@ -282,7 +282,7 @@ CONSTANT: compass-directions H{
     ] if ;
 
 : parse-weather ( str -- str' )
-    dup "VC" subseq-index? [ "VC" "" replace t ] [ f ] if
+    dup "VC" subseq-of? [ "VC" "" replace t ] [ f ] if
     [ (parse-weather) ]
     [ [ " in the vicinity" append ] when ] bi* ;