clojure-dev

Issues: https://clojure.atlassian.net/browse/CLJ | Guide: https://insideclojure.org/2015/05/01/contributing-clojure/
borkdude 2019-11-08T11:38:54.254400Z

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

borkdude 2019-11-08T11:39:23.254700Z

maybe leiningen throws the old spec in the mix somehow

ghadi 2019-11-08T13:35:41.255700Z

Cool! Thanks for testing @borkdude

borkdude 2019-11-08T13:51:56.256600Z

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.

borkdude 2019-11-08T13:52:34.257300Z

or anything else really to help keep this issue focused

borkdude 2019-11-08T13:55:06.257500Z

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