]> gitweb.factorcode.org Git - factor.git/commitdiff
slots.syntax: fix example.
authorDoug Coleman <doug.coleman@gmail.com>
Tue, 11 Oct 2011 05:00:40 +0000 (22:00 -0700)
committerDoug Coleman <doug.coleman@gmail.com>
Tue, 11 Oct 2011 05:00:40 +0000 (22:00 -0700)
extra/slots/syntax/syntax-docs.factor

index 0845751ce9bff3c9c79f1b0ee9055b930fe91226..2282cb88daa3697084b970026bcceb7f5cd38b7a 100755 (executable)
@@ -47,7 +47,7 @@ HELP: copy-slots{
            "TUPLE: thing1 a b ;"
            "TUPLE: thing2 a b c ;"
            "1 2 thing1 boa 11 22 33 thing2 boa copy-slots{ a b } ."
-           "T{ thing2 f 1 2 33 }"
+           "T{ thing2 { a 1 } { b 2 } { c 33 } }"
 } ;
 
 ARTICLE: "slots.syntax" "Slots syntax sugar"