]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/qw/qw-docs.factor
factor: trim using lists
[factor.git] / extra / qw / qw-docs.factor
index 6c94beb5ae52bea76f09d9ec00d54da4eb5f5381..8ae8f4f7e9e42d11bfbbb9e80542b1c7589a2d8a 100644 (file)
@@ -1,19 +1,20 @@
-! (c)2009 Joe Groff bsd license
-USING: help.markup help.syntax multiline ;
+! Copyright (C) 2009 Joe Groff.
+! See http://factorcode.org/license.txt for BSD license.
+USING: help.markup help.syntax ;
 IN: qw
 
 HELP: qw{
 { $syntax "qw{ lorem ipsum }" }
 { $description "Marks the beginning of a literal array of strings. Component strings are delimited by whitespace." }
 { $examples
-{ $unchecked-example """USING: prettyprint qw ;
-qw{ pop quiz my hive of big wild ex tranny jocks } ."""
-"""{ "pop" "quiz" "my" "hive" "of" "big" "wild" "ex" "tranny" "jocks" }""" }
+{ $unchecked-example "USING: prettyprint qw ;
+qw{ pop quiz my hive of big wild ex tranny jocks } ."
+"{ \"pop\" \"quiz\" \"my\" \"hive\" \"of\" \"big\" \"wild\" \"ex\" \"tranny\" \"jocks\" }" }
 } ;
 
 ARTICLE: "qw" "Quoted words"
 "The " { $vocab-link "qw" } " vocabulary offers a shorthand syntax for arrays-of-strings literals." $nl
 "Construct an array of strings:"
-{ $subsection POSTPONE: qw{ } ;
+{ $subsections POSTPONE: qw{ } ;
 
 ABOUT: "qw"