grouping: Fix docs
parent
8865b9401d
commit
cbfb1422c8
|
@ -129,8 +129,8 @@ HELP: <clumps>
|
||||||
"{ 113/400 167/400 201/400 241/400 243/400 91/200 1/4 }"
|
"{ 113/400 167/400 201/400 241/400 243/400 91/200 1/4 }"
|
||||||
}
|
}
|
||||||
{ $example
|
{ $example
|
||||||
"USING: kernel sequences grouping prettyprint ;"
|
"USING: arrays kernel sequences grouping prettyprint ;"
|
||||||
"{ 1 2 3 4 5 6 } 3 <clumps> second ."
|
"{ 1 2 3 4 5 6 } 3 <clumps> second >array ."
|
||||||
"{ 2 3 4 }"
|
"{ 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." }
|
{ $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
|
{ $examples
|
||||||
{ $example
|
{ $example
|
||||||
"USING: kernel sequences grouping prettyprint ;"
|
"USING: arrays kernel sequences grouping prettyprint ;"
|
||||||
"{ 1 2 3 4 } 3 <circular-clumps> third ."
|
"{ 1 2 3 4 } 3 <circular-clumps> third >array ."
|
||||||
"{ 3 4 1 }"
|
"{ 3 4 1 }"
|
||||||
}
|
}
|
||||||
} ;
|
} ;
|
||||||
|
|
Loading…
Reference in New Issue