Reputation: 18005
Why do we have to import both clojure
and core.async
, as shown in the core.async readme ?
I thought that all core.*
libraries were already included in Clojure itself. Or is it to get a different version ?
Upvotes: 0
Views: 123
Reputation: 3659
There are many "contrib" libraries, like core.async, core.logic, core.match, test.check and many more. The code for the contrib libraries is in the clojure organization in github, so you can see the listing of contrib libraries in https://github.com/clojure?tab=repositories
The choice of name has nothing to do with being part of the main clojure package or not.
Also important, from http://clojure.org/libraries:
Clojure Contrib is a collection of libraries managed with the same Contributor Agreement, license, and development workflow as Clojure itself. Code in Clojure Contrib can be considered for inclusion in newer versions of Clojure.
Upvotes: 1