News for hackers. Stuff that matters.
Re:Clojure 1.11 planning by badsavage on Tuesday October 08, 2019 @06:27AM (#21190644)
Spec is very useful, but please implement it without macros. Metosin did a great job to make it more usable, but we still struggle because specs could only exist in Namespaces. We want to use spec as EDN with pure functions. (+ recursive specs would be awesome)
Re:Clojure 1.11 planning by puredanger on Tuesday October 08, 2019 @09:13AM (#21191871)
Spec 2 can be used without touching any macros if desired and has a lot more programmatic options.
Re:Clojure 1.11 planning by badsavage on Tuesday October 08, 2019 @12:41PM (#21194145)
Awesome!
Re:Clojure 1.11 planning by Borkdude on Tuesday October 08, 2019 @07:49AM (#21191165)
For schemas as EDN you might want to take a look at malli:

https://github.com/metosin/malli

Re:Clojure 1.11 planning by badsavage on Tuesday October 08, 2019 @12:38PM (#21194126)
I didn't know malli, thank you Borkdude!