From e5c155338fe0f6cac1fa4a139dd6fb858f73c15f Mon Sep 17 00:00:00 2001 From: Aaron Schaefer Date: Sun, 9 Nov 2008 17:23:24 -0500 Subject: [PATCH] Fix short-circuit usage in number>text --- extra/math/text/english/english.factor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extra/math/text/english/english.factor b/extra/math/text/english/english.factor index dfb0c00388..58dab74cdb 100755 --- a/extra/math/text/english/english.factor +++ b/extra/math/text/english/english.factor @@ -26,7 +26,7 @@ IN: math.text.english SYMBOL: and-needed? : set-conjunction ( seq -- ) - first { [ dup 100 < ] [ dup 0 > ] } 0&& and-needed? set drop ; + first { [ 100 < ] [ 0 > ] } 1&& and-needed? set ; : negative-text ( n -- str ) 0 < "Negative " "" ? ;