Support using reducers on JDK 6 without jsr166y?

61 views
Skip to first unread message

Stuart Sierra

unread,
Dec 23, 2012, 12:14:24 PM12/23/12
to cloju...@googlegroups.com
In Clojure-1.5.0-RC1, you can't load 'clojure.core.reducers without having either JDK 7 or jsr166y. But parts of reducers are potentially useful even without ForkJoin.

Is it possible to support reducers (and non-parallel "fold") when ForkJoin is not available?

-S

Andy Fingerhut

unread,
Dec 23, 2012, 1:06:57 PM12/23/12
to cloju...@googlegroups.com
The comments Rich added when closing CLJ-1109 indicate that this is definitely possible, and he would prefer it over the approach in CLJ-1109's patch, which was to throw an exception if no ForkJoin library is available.

http://dev.clojure.org/jira/browse/CLJ-1109

Andy
Reply all
Reply to author
Forward
0 new messages