]> gitweb.factorcode.org Git - factor.git/commitdiff
grouping: Fix docs
authorDoug Coleman <doug.coleman@gmail.com>
Mon, 25 Mar 2013 18:52:20 +0000 (11:52 -0700)
committerDoug Coleman <doug.coleman@gmail.com>
Mon, 25 Mar 2013 18:57:25 +0000 (11:57 -0700)
basis/grouping/grouping-docs.factor

index ff8a3f6ac4bbfc3804afbc5ec8559a3862d441db..80ec52faf5ccc17ddee43ef363b41ac7c84e103b 100644 (file)
@@ -129,8 +129,8 @@ HELP: <clumps>
         "{ 113/400 167/400 201/400 241/400 243/400 91/200 1/4 }"
     }
     { $example
-        "USING: kernel sequences grouping prettyprint ;"
-        "{ 1 2 3 4 5 6 } 3 <clumps> second ."
+        "USING: arrays kernel sequences grouping prettyprint ;"
+        "{ 1 2 3 4 5 6 } 3 <clumps> second >array ."
         "{ 2 3 4 }"
     }
 } ;
@@ -140,8 +140,8 @@ HELP: <circular-clumps>
 { $description "Outputs a virtual sequence whose elements are overlapping slices of " { $snippet "n" } " elements from the underlying sequence, starting with each of its elements and wrapping around the end of the sequence." }
 { $examples
     { $example
-        "USING: kernel sequences grouping prettyprint ;"
-        "{ 1 2 3 4 } 3 <circular-clumps> third ."
+        "USING: arrays kernel sequences grouping prettyprint ;"
+        "{ 1 2 3 4 } 3 <circular-clumps> third >array ."
         "{ 3 4 1 }"
     }
 } ;