From 4f5b0e5cd6ada3d9fbec53ded52900b4a34d437f Mon Sep 17 00:00:00 2001 From: Slava Pestov Date: Sat, 29 Nov 2008 13:44:38 -0600 Subject: [PATCH] Oops --- basis/math/partial-dispatch/partial-dispatch.factor | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/basis/math/partial-dispatch/partial-dispatch.factor b/basis/math/partial-dispatch/partial-dispatch.factor index ddde4e1244..b0f6870022 100644 --- a/basis/math/partial-dispatch/partial-dispatch.factor +++ b/basis/math/partial-dispatch/partial-dispatch.factor @@ -117,7 +117,9 @@ M: word integer-op-input-classes { fixnum bignum float } [ [ dup 3array ] [ swap method ] 2bi ] with { } map>assoc [ nip ] assoc-filter - [ def>> peek ] assoc-map % ; + [ def>> ] assoc-map + [ nip length 1 = ] assoc-filter + [ first ] assoc-map % ; SYMBOL: math-ops