Fork me on GitHub
#clojure-dev
<
2019-11-08
>
borkdude11:11:54

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-toolsdeps

borkdude11:11:23

maybe leiningen throws the old spec in the mix somehow

ghadi13:11:41

Cool! Thanks for testing @borkdude

borkdude13:11:56

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.

borkdude13:11:34

or anything else really to help keep this issue focused

borkdude13:11:06

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