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