Works now!
(ns spec-test.core
(:gen-class)
(:require [clojure.spec.alpha :as s]))
(s/def ::g int?)
(defn -main [& _args]
(println *clojure-version*)
(println (s/valid? ::g 1)))
$ ./spec-test
{:major 1, :minor 11, :incremental 0, :qualifier master, :interim true}
true
using ghadi's patch and tools.deps:
https://gist.github.com/borkdude/dd0857cf1958b25496fddbdbf359ca59#trying-to-compile-only-using-toolsdepsmaybe leiningen throws the old spec in the mix somehow
Cool! Thanks for testing @borkdude
if it would be of help, I could do some performance testing of the other patch vs ghadi's patch. I'm not sure what the patches do in terms of solution directions, that's a little bit beyond my understanding.
or anything else really to help keep this issue focused
latest comment: > Not being worked on by anyone atm > It needs clean up with a clear list of options and pros/cons/perf for each