]> gitweb.factorcode.org Git - factor.git/commitdiff
metar: simplify <taf-report>.
authorJohn Benediktsson <mrjbq7@gmail.com>
Sat, 6 Jun 2015 16:27:09 +0000 (09:27 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Sat, 6 Jun 2015 16:28:01 +0000 (09:28 -0700)
extra/metar/metar.factor

index 1db3e9c8456a15f65eb76e06221abde6b6afb6d9..54c26dfab46320c32613604890cf690b1514529f 100644 (file)
@@ -679,8 +679,7 @@ sky-condition raw ;
     [ taf-report new ] dip [ >>raw ] keep
     string-lines [ [ blank? ] trim ] map
     rest dup first "TAF" = [ rest ] when
-    harvest unclip swap
-    [ taf-body ] [ taf-partials ] bi* ;
+    harvest unclip taf-body taf-partials ;
 
 : taf-report. ( report -- )
     [