From 288f987f1254a3af026d025a195afa1f78de4ae7 Mon Sep 17 00:00:00 2001 From: Eduardo Cavazos Date: Fri, 2 Dec 2005 10:13:01 +0000 Subject: [PATCH] Fixed factorial example --- library/help/tutorial.factor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/help/tutorial.factor b/library/help/tutorial.factor index a5699c2bbb..3ad7ad1c43 100644 --- a/library/help/tutorial.factor +++ b/library/help/tutorial.factor @@ -289,7 +289,7 @@ M: general-list tutorial-line "" "Try the following:" "" - [ ": factorial ( n -- n! ) 0 product ;" ] + [ ": factorial ( n -- n! ) 1 swap product ;" ] [ "100 factorial ." ] "" [ "1 3 / 1 2 / + ." ]