diff --git a/hy/core/shadow.hy b/hy/core/shadow.hy index e66d075..5008973 100644 --- a/hy/core/shadow.hy +++ b/hy/core/shadow.hy @@ -65,7 +65,7 @@ "Helper for shadow comparison operators" (if (< (len args) 2) (raise (TypeError "Need at least 2 arguments to compare")) - (reduce operator.and_ + (reduce (lambda [x y] (and x y)) (list-comp (op x y) [(, x y) (zip args (cut args 1))])))) (defn < [&rest args]