ghostwheel

Hassle-free clojure.spec, automatic generative testing, side effect detection, and evaluation tracing for Clojure(-Script) – https://github.com/gnl/ghostwheel
Phil Jackson 2020-05-30T13:43:14.030700Z

Hey all. Anyone got decent Emacs highlighting on the go for >defn and co?

Phil Jackson 2020-05-30T16:33:04.031600Z

I'm getting a spec failure with >defn that I don't seem to get with explain:

Phil Jackson 2020-05-30T16:33:29.031900Z

Function arguments↵ ({:selected #uuid "eb88dd40-8f23-4c36-8a39-b9a5020d01d3",↵ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^↵ :cvs↵ {#uuid "eb88dd40-8f23-4c36-8a39-b9a5020d01d3"↵ {:id #uuid "eb88dd40-8f23-4c36-8a39-b9a5020d01d3", :name "Main"}}})↵ should satisfy↵ uuid?↵

Phil Jackson 2020-05-30T16:34:22.032300Z

Does that look like it should be ok, or could I be missing something?

gnl 2020-06-04T18:35:32.033600Z

You can macroexpand-1 the whole (>defn ...) block in the REPL to see what it desugars to and troubleshoot that directly to see what's wrong. Not quite sure what's going on here, but at first sight this does not seem like a Ghostwheel-related issue. Happy to be proven wrong, of course. 🙂

Phil Jackson 2020-06-05T15:45:26.037400Z

Yep, sure thing.

Phil Jackson 2020-06-05T19:56:13.037900Z

Yo. I updated my version of Shadow (and therefore my cljs) and it's all working now. Apologies for the noise!

Phil Jackson 2020-06-05T19:56:22.038100Z

Thanks for Ghost too, it's great.

gnl 2020-06-06T00:21:47.038300Z

Thanks, and no worries.