From b1566ef0a622a31877ccc2a3fd29792e8a5f16b4 Mon Sep 17 00:00:00 2001 From: Keita Haga Date: Sun, 20 Feb 2011 03:08:01 +0900 Subject: [PATCH] math.combinatorics: fix typo in docs --- basis/math/combinatorics/combinatorics-docs.factor | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/basis/math/combinatorics/combinatorics-docs.factor b/basis/math/combinatorics/combinatorics-docs.factor index 75a54c2300..9b2a29bd73 100644 --- a/basis/math/combinatorics/combinatorics-docs.factor +++ b/basis/math/combinatorics/combinatorics-docs.factor @@ -4,7 +4,7 @@ IN: math.combinatorics HELP: factorial { $values { "n" "a non-negative integer" } { "n!" integer } } { $description "Outputs the product of all positive integers less than or equal to " { $snippet "n" } "." } -{ $examples +{ $examples { $example "USING: math.combinatorics prettyprint ;" "4 factorial ." "24" } } ; @@ -46,7 +46,7 @@ HELP: all-permutations HELP: each-permutation { $values { "seq" sequence } { "quot" { $quotation "( seq -- )" } } } -{ $description "Applies the quotation to each permuation of " { $snippet "seq" } " in order." } ; +{ $description "Applies the quotation to each permutation of " { $snippet "seq" } " in order." } ; HELP: inverse-permutation { $values { "seq" sequence } { "permutation" sequence } } @@ -121,7 +121,7 @@ HELP: selections { $description "Returns all the ways to take n (possibly the same) items from the " "sequence of items." -} +} { $examples { $example "USING: math.combinatorics prettyprint ;"