]> gitweb.factorcode.org Git - factor.git/commitdiff
fix help-lint failures
authorJoe Groff <arcata@gmail.com>
Wed, 28 Oct 2009 19:05:23 +0000 (14:05 -0500)
committerJoe Groff <arcata@gmail.com>
Wed, 28 Oct 2009 19:05:23 +0000 (14:05 -0500)
basis/xml/syntax/syntax-docs.factor
extra/infix/infix-docs.factor

index 7c39af7b26d975f6e72889d2987567b3785574e3..376c9b3f0ccf8ff1a68804f943f5e809a6e5ac7c 100644 (file)
@@ -75,11 +75,11 @@ $nl
 { $example
 """USING: locals urls xml.syntax xml.writer ;
 [let
-    3 :> number [ 3 ]
-    f :> false [ f ]
+    3 :> number
+    f :> false
     URL" http://factorcode.org/" :> url
     "hello" :> string
-    \\ drop :> world
+    \\ drop :> word
     <XML
         <x
             number=<-number->
index 9b490a43d271f9b7adbc2ffcb6697ce37399d80d..917480dd3ffe89a276158b4857c4f31fcf2aaf82 100644 (file)
@@ -61,7 +61,7 @@ $nl
 $nl
 "You can access " { $vocab-link "sequences" } " inside infix expressions with the familiar " { $snippet "arr[index]" } " notation."
 { $example
-    "USING: arrays infix ;"
+    "USING: arrays locals infix ;"
     "[let { 1 2 3 4 } :> myarr [infix myarr[4/2]*3 infix] ] ."
     "9"
 }