Nicer require for stc alias in clojure.spec.test.alpha

Description

Right now when I want to alias the namespace clojure.spec.test.check as stc which can be used for passing options to clojure.test.check in clojure.spec.test.alpha/check by using ::stc/opts, I have to do it like this:

If `clojure.spec.test.check` was an empty namespace on the filesystem, I could just do

With that change in place, it would also be easier to unify the usage of clojure.spec.test.alpha between Clojure and ClojureScript.

could become

See: https://dev.clojure.org/jira/browse/CLJS-2952

Environment

None

Activity

Show:

Alex Miller November 1, 2018 at 1:11 AM

Sorry, not going to do that. You don’t have to alias it at all.

Declined

Details

Assignee

Reporter

Priority

Created October 31, 2018 at 11:21 PM
Updated November 1, 2018 at 1:11 AM
Resolved November 1, 2018 at 1:11 AM