By using when-let at most two seq constructions can be avoided per invocation of some.
Patch: clj-1654.patch
Screened by: Alex Miller
This is similar to the tweak to dorun/doall in CLJ-1515. It is a good benefit when a collection doesn't cache its seq
Updated patch to include ticket number in commit message, no other changes, attribution retained.