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 numberThanks @roman.bataev! Just discovered your library and I'm loving it π
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.
Thank you!
I see, are goroutines similar to core.async in Clojure?
Whatβs the policy on exit codes for joker? It returns 1 if one or more warnings/errors have been found right?
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
clj-kondo
looks very cool! I might steal some ideas from it to Joker π
thanks π
I want to be able to distinguish between normal behavior and errors for testing in CI