Comments (17)
Hello @jobez. Do you have more information about this particular issue? What do you mean when you say you are unable to depend on the library? The library does not load, its code break, you cannot define it as a dependency?
I will soon update the version of clojurescript used by the library but I am not sure it would fix your issue.
from clj-fuzzy.
Hi! When I try to require the library from clojurescript, the cljs compiler throws up an error that the namespace could not be found. I can get you some screenshots in the morning.
from clj-fuzzy.
Screenshot or code would be nice indeed :). I'll try to reproduce the issue on my side in the mean time.
from clj-fuzzy.
dependency in boot project
requirement in cljs ns
result in cljs compilation
from clj-fuzzy.
Can you try to register your dependency as:
[[clj-fuzzy/clj-fuzzy "0.2.1"]]
and tell me whether it changes anything?
Is your code sensitive? If not, is this possible to have some link towards it so I can test myself. It's kinda hard to guess anything from screenshots.
from clj-fuzzy.
let me make a little repo trying to reproduce the issue for you.
from clj-fuzzy.
https://github.com/jobez/clj-fuzzy-cljs-dep-repro thanks for the responsiveness i appreciate it :)
from clj-fuzzy.
Well I tried some things but I am a bit clueless here. Could you point me towards a library you use in clojurescript and that work for you in the same context so I can assess whether there is something wrong with the way I organize my files?
from clj-fuzzy.
i'll have to do some googling, but here's an example of a library using cljx (i realize this isnt the exact same context as this library):
https://github.com/Prismatic/plumbing
and another library using the new reader conditionals set to be released in clojure 1.7.0:
https://github.com/LonoCloud/synthread
from clj-fuzzy.
I think the issue is that the crossovers feature you are using in cljs-build has been depreciated.
https://github.com/emezeske/lein-cljsbuild/blob/master/doc/CROSSOVERS.md
from clj-fuzzy.
Yes indeed. I am not literate in boot but would it be possible to tell boot to hit the .clj
files from src rather than attempting to reach the ClojureScript ones?
from clj-fuzzy.
So I made a branch with a partially-almost-completed version of clj-fuzzy that uses .cljc reader conditionals here: https://github.com/jobez/clj-fuzzy/tree/cljc
I had some weird issues using cljsbuild, so I tried using the boot build tool instead and it just worked.
from clj-fuzzy.
Hello @jobez, I switched to .cljc
files and to 1.7 feature expressions. Could you please check whether this works for you now please (if this is still relevant for you and if I am not too late)?
from clj-fuzzy.
Switching to a local checkout of 2faf217 allows me to use the library from Clojurescript. It seems that it fixes this issue.
from clj-fuzzy.
Cool. I should probably release a new version then, now that clojure 1.7
is stable.
from clj-fuzzy.
Yes, putting a new release out would be great.
from clj-fuzzy.
Version 0.3.0
is now online. I'll close this then.
from clj-fuzzy.
Related Issues (20)
- dice algorithm NaN HOT 7
- Fix Levenshtein ortographe
- Switch to gulp
- Fix the cljx pb
- Lovins stemmer
- Rework headers and descriptions
- Repo needs `index.js` so that it can be invoked with `require` HOT 3
- Switch to cljx or feature expressions
- Levenstein distance performance HOT 6
- Cologne phonetic will drop the first place 0 erroneously
- Something seems to be amiss with Jaro distance & long strings
- Levenshtein Distance Error On Empty Sequence HOT 1
- Clojurescript should be a dev dependency HOT 5
- Spanish support? HOT 13
- Documentation website outdated HOT 6
- Jaro-Winkler returns unexpected values for two nil inputs HOT 4
- Big-O Performance HOT 2
- interferes with other modules, do NOT use this module unless it's fixed HOT 1
- Is it appropriate to add a non-formal algorithm? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clj-fuzzy.