clojure.core/bean should implement Iterable
The changes in Clojure 1.6 hashing revealed that `bean` does not return a map that implements Iterable:
Patch adds `iterator` method to clojure.core/bean.
Screened by: Alex Miller
Added new patch that just adds iterator to bean.
It seemed like an oversight that APersistentMap lacked a default iterator method.
That said, I haven't used OO inheritance for 4 years. Should I change the patch?
APersistentMap implements Iterable and expects subclasses to fulfill that contract. The bean proxy does not. Instead of changing APersistentMap, why not add:
to the bean proxy definition?
Interestingly, into does not help b/c into uses reduce, which internally uses the iterator too.