Welcome! Please see the About page for a little more info on how this works.

0 votes
in Clojure by

Implement drop-while as a reducer. Follows the same atom-based strategy as drop and take.

Does not depend on any of my other reducer patches, but there will probably be some minor merge conflicts unless it is merged after CLJ-1045, and before CLJ-992 and CLJ-993.

2 Answers

0 votes
by

Comment made by: jafingerhut

Patch drop-while-reducer.patch dated Aug 18 2012 no longer applies cleanly to latest master after some commits were made to Clojure on Sep 3, 2014.

I have not checked whether this patch is straightforward to update, nor do I know if there is interest in an updated patch, or whether transducers are the preferred way to go over reducers, and thus all reducers-related tickets will be closed. See the section "Updating stale patches" at http://dev.clojure.org/display/community/Developing Patches for suggestions on how to update patches.

0 votes
by
Reference: https://clojure.atlassian.net/browse/CLJ-1046 (reported by amalloy)
Welcome to Clojure Q&A, where you can ask questions and receive answers from members of the Clojure community.
...