joker

Discuss all things joker, the Clojure interpreter/linter on top of Go. https://github.com/candid82/joker
achesnais 2018-08-27T15:08:46.000100Z

Hi peeps 🙂 Was wondering, how would I go about ensuring Joker recognises known class names? Currently it seems it only recognises clojure.lang and java.* names; but stuff from custom library is marked as an unknown symbol. I’m not seeing any reference to this in the readme

Candid 2018-08-27T15:51:17.000100Z

@achesnais can you provide a code example?

achesnais 2018-08-27T15:55:17.000100Z

Note that if I use simply Db instead of datomic.db.Db, Joker is happy. But I generally like referring to the full classpath for clarity.

achesnais 2018-08-27T15:55:30.000100Z

@roman.bataev here you go 🙂

Candid 2018-08-27T15:57:27.000100Z

Yeah, that's a known issue. I was going to suggest using :import and class names without package prefixes, but I can see why one may prefer full names

Candid 2018-08-27T15:57:57.000100Z

if you use full names, I believe :import is not necessary

achesnais 2018-08-27T15:59:58.000100Z

(by the way I absolutely love Joker, awesome job!)

Candid 2018-08-27T16:00:20.000100Z

but perhaps it could be a way to silence Joker's warning (if it handled it properly)

Candid 2018-08-27T16:00:22.000100Z

thanks!

Candid 2018-08-27T16:01:08.000100Z

do you mind submitting a github issue so that I feel some pressure to actually address it? 🙂

achesnais 2018-08-27T16:03:13.000100Z

haha – sure thing, I’ll do so now

achesnais 2018-08-27T16:05:38.000100Z

https://github.com/candid82/joker/issues/new here you go 🙂

👍 1