bsless / clj-fast

Unpredictably faster Clojure
Eclipse Public License 2.0
234 stars 1 forks source link

FileNotFoundException when try to use clj-fast #22

Closed newmen closed 3 years ago

newmen commented 3 years ago

Hi,

I'd added this library to the dependencies list in my leinengen project.clj file like:

:dependencies [; ...
               [bsless/clj-fast "0.0.9"]
               ; ...
               ]

And then I've started the repl and tried to use somethink from README, but got a error:

x.y.core=> (use '[clj-fast.collections.concurrent_hash_map :as chm])

Execution error (FileNotFoundException) at x.y.core/eval39551 (form-init17436836735770775491.clj:1).
Could not locate clj_fast/collections/concurrent_hash_map__init.class, clj_fast/collections/concurrent_hash_map.clj or clj_fast/collections/concurrent_hash_map.cljc on classpath. Please check that namespaces with dashes use underscores in the Clojure file name.

What I do wrong?

bsless commented 3 years ago

The only thing you did wrong was following a slightly outdated section of the README, the namespace was renamed to clj-fast.collections.concurrent-map Please let me know if this solves the issue

newmen commented 3 years ago

Yep! That's works! Thanks :)