]> gitweb.factorcode.org Git - factor.git/commitdiff
use bi
authorDoug Coleman <doug.coleman@gmail.com>
Sun, 31 Aug 2008 15:09:21 +0000 (10:09 -0500)
committerDoug Coleman <doug.coleman@gmail.com>
Sun, 31 Aug 2008 15:09:21 +0000 (10:09 -0500)
basis/help/markup/markup.factor

index e3cefb799227c89b1fca5f8399375f73369f9234..d65eb8fc88ccf2974c2e0481fd8deb7e76da62a9 100755 (executable)
@@ -143,13 +143,13 @@ M: f print-element drop ;
     link-style get [ write-object ] with-style ;
 
 : ($link) ( article -- )
-    [ dup article-name swap >link write-link ] ($span) ;
+    [ [ article-name ] [ >link ] bi write-link ] ($span) ;
 
 : $link ( element -- )
     first ($link) ;
 
 : ($long-link) ( object -- )
-    dup article-title swap >link write-link ;
+    [ article-title ] [ >link ] bi write-link ;
 
 : ($subsection) ( element quot -- )
     [