]> gitweb.factorcode.org Git - factor.git/commitdiff
math.combinatorics: fix help-lint.
authorJohn Benediktsson <mrjbq7@gmail.com>
Mon, 9 Apr 2012 18:43:22 +0000 (11:43 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Mon, 9 Apr 2012 18:43:22 +0000 (11:43 -0700)
basis/math/combinatorics/combinatorics-docs.factor

index d085515713314da547c954978db01b8cf6e84481..0ae8c64428ff6caa07b3932c127590568e674378 100644 (file)
@@ -104,7 +104,7 @@ HELP: >permutation
 { $examples { $example "USING: math.combinatorics.private prettyprint ;" "{ 0 0 0 0 } >permutation ." "{ 0 1 2 3 }" } } ;
 
 HELP: next-permutation
-{ $values { "seq" sequence } { "seq" sequence } }
+{ $values { "seq" sequence } }
 { $description "Rearranges the elements in " { $snippet "seq" } " into the lexicographically next greater permutation of elements." }
 { $notes "Performs an in-place modification of " { $snippet "seq" } "." }
 { $examples { $example "USING: math.combinatorics prettyprint ;" "\"ABC\" next-permutation ." "\"ACB\"" } } ;