diff --git a/sci b/sci index 5e4978df..921bd564 160000 --- a/sci +++ b/sci @@ -1 +1 @@ -Subproject commit 5e4978df1f935f38bbf902ec962ec9690d8eaedd +Subproject commit 921bd564bfacf096eec345825fe83072a999736b diff --git a/src/babashka/impl/reify.clj b/src/babashka/impl/reify.clj index 4a886238..34570122 100644 --- a/src/babashka/impl/reify.clj +++ b/src/babashka/impl/reify.clj @@ -11,10 +11,6 @@ ;; get: 'Not implemented: seq', because print-method thought this object was ;; seqable, while in fact, it wasn't. -(defn method-or-bust [methods k] - (or (get methods k) - (throw (UnsupportedOperationException. "Method not implemented: " k)))) - (defmacro gen-reify-combos "Generates pre-compiled reify combinations" [methods] @@ -120,7 +116,8 @@ equiv [[this x]]} clojure.lang.IReduce - {reduce [[this f]]} + {reduce [[this f] + [this f init]]} clojure.lang.IReduceInit {reduce [[this f initial]]}