Hi Joe, This is an area of ongoing work and the following ticket captures this issue as well:
http://dev.clojure.org/jira/browse/CLJ-1936 (and duped http://dev.clojure.org/jira/browse/CLJ-1976) Spec by itself should not require a test.check dependency. Alex On Thursday, July 21, 2016 at 11:55:37 PM UTC-5, Joe Selman wrote: > > I have a simple lein project on clojure 1.9.0-alpha10 with no other > dependencies. Trying to use fspec and explain yields an error: > > (require '[clojure.spec :as s]) >> => nil >> (s/def ::my-spec (s/fspec :args string? :ret string?)) >> => :user/my-spec >> (s/explain ::my-spec (fn [_] "foo")) >> FileNotFoundException Could not locate >> clojure/test/check/generators__init.class or >> clojure/test/check/generators.clj on classpath. clojure.lang.RT.load >> (RT.java:458) > > > Is this a bug or do some uses of spec require a test.check dependency? > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.