ghostwheel
ghostwheel copied to clipboard
Hassle-free inline clojure.spec with semi-automatic generative testing and side effect detection
We currently need to create seperate `>defn`s and delegate to them. Adding `>defmethod` macros would ease this.
The tracing support is pretty awesome, is the clojure support being worked, is help needed? On that note didn't see a repo for ghostwheel.tracing
This PR fixes #33 Example: ```clojure (defmulti demo pos?) (>defmethod demo true [x] [pos? => nil?] (println "It's positive")) (>defmethod demo false [x] [(s/or :zero zero? :neg neg?) => nil?]...
This commit changes the `generate-defn` return value to be the symbol of the newly generated function name. This is inline with the behavior of `clojure.core/defn` and `clojure.core/defn-`. The reason this...