joker

Discuss all things joker, the Clojure interpreter/linter on top of Go. https://github.com/candid82/joker
dehli 2019-04-05T14:16:33.022200Z

Hi, I'm wondering how joker knows that (inc "test") is invalid (stating that "test" must be a number). Is it because inc uses clojure.spec? Edit: Looks like it's using metadata

(defn my-inc [^Number x]
  (inc x))
my-inc now complains if it's something other than a number

dehli 2019-04-06T14:35:37.029500Z

Thanks @roman.bataev! Just discovered your library and I'm loving it πŸ™‚

2019-04-05T19:27:47.024100Z

Does joker have a notion of threads? I'm creating a cli tool that fetches data from a bunch of URLs but I gotta do it serially pmap doesn't seem to exist. So I'm wondering if this is out of scope.

2019-04-05T19:29:34.024500Z

Thank you!

πŸ‘ 1
2019-04-05T19:33:12.025400Z

I see, are goroutines similar to core.async in Clojure?

borkdude 2019-04-05T19:33:55.025900Z

What’s the policy on exit codes for joker? It returns 1 if one or more warnings/errors have been found right?

borkdude 2019-04-05T19:34:53.027400Z

Does it have other return codes that have meanings? I’m experimenting with a linter myself and I’m wondering if this makes sense: exit code 0: no errors/warnings exit code 1: more than one errors/warnings exit code 2: something unexpected happened, e.g. parse error

Candid 2019-04-09T21:38:34.038900Z

clj-kondo looks very cool! I might steal some ideas from it to Joker πŸ™‚

borkdude 2019-04-09T21:40:15.039100Z

thanks πŸ™‚

borkdude 2019-04-05T19:36:01.028200Z

I want to be able to distinguish between normal behavior and errors for testing in CI