clojure-spec

About: http://clojure.org/about/spec Guide: http://clojure.org/guides/spec API: https://clojure.github.io/spec.alpha/clojure.spec.alpha-api.html
lilactown 2020-01-24T17:57:07.079900Z

for direction/discussion w.r.t. cljs.spec.alpha, should I lobby that here or in #cljs-dev?

lilactown 2020-01-24T17:58:12.080800Z

Iā€™m interested in exploring (and advocating for support for) the capability in CLJS to remove specs when building for deployment

vemv 2020-01-26T12:11:00.082Z

How about a my.spec/def macro which expands to sth like when js/goog.asserts.ENABLE_ASSERTS (spec/def ...)?

2020-01-24T18:05:54.080900Z

Put them in a separate source folder which isn't part of the production build?

lilactown 2020-01-24T18:09:09.081100Z

they need to show up in the namespace dependency graph of the application in order to be included at dev time and be rebuilt when the implementations change

lilactown 2020-01-24T18:09:44.081300Z

I could manually write a namespace that includes all specs I use in my app, and add that as a preload. but that is tedious

alexmiller 2020-01-24T18:11:25.081500Z

cljs-dev

1šŸ‘