]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/math/combinatorics/combinatorics-docs.factor
Delete empty unit tests files, remove 1- and 1+, reorder IN: lines in a lot of places...
[factor.git] / basis / math / combinatorics / combinatorics-docs.factor
index 041539c9815c2aaa82611688731e7f0df1ae3239..0e0b7ae1677f007e24a1680502aed5fada88b3d1 100644 (file)
@@ -28,7 +28,7 @@ HELP: nCk
 HELP: permutation
 { $values { "n" "a non-negative integer" } { "seq" sequence } { "seq" sequence } }
 { $description "Outputs the " { $snippet "nth" } " lexicographical permutation of " { $snippet "seq" } "." }
-{ $notes "Permutations are 0-based and a bounds error will be thrown if " { $snippet "n" } " is larger than " { $snippet "seq length factorial 1-" } "." }
+{ $notes "Permutations are 0-based and a bounds error will be thrown if " { $snippet "n" } " is larger than " { $snippet "seq length factorial 1 -" } "." }
 { $examples
     { $example "USING: math.combinatorics prettyprint ;"
         "1 3 permutation ." "{ 0 2 1 }" }