From e9f6a56c530b8b3d1f8edb29d5bf69750be875a2 Mon Sep 17 00:00:00 2001 From: Alexander Iljin Date: Sat, 17 Dec 2016 00:44:32 +0300 Subject: [PATCH] math.statistics-docs: make cum-product example less ambiguous In the previous version of the example it was not clear whether the result always starts with 1 (as is the case with cum-product1) or with the first item of the input sequence. --- basis/math/statistics/statistics-docs.factor | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/basis/math/statistics/statistics-docs.factor b/basis/math/statistics/statistics-docs.factor index 9c53a200b3..83cb371978 100644 --- a/basis/math/statistics/statistics-docs.factor +++ b/basis/math/statistics/statistics-docs.factor @@ -173,8 +173,8 @@ HELP: cum-product { $description "Returns the cumulative product of " { $snippet "seq" } "." } { $examples { $example "USING: math.statistics prettyprint ;" - "{ 1 2 3 4 } cum-product ." - "{ 1 2 6 24 }" + "{ 2 3 4 } cum-product ." + "{ 2 6 24 }" } } ;