Programming Clojure, Third Edition (page 111)
Backward description of when to use reduce
and into
, it should be:
- Reduce: when the output is a single computed value
- Into: when the output is a collection
Programming Clojure, Third Edition (page 111)
Backward description of when to use reduce
and into
, it should be:
Yep, looks like those got swapped, good catch!