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
Franklin 2020-05-18T12:41:55.453400Z

How can I fix this:

Franklin 2020-05-18T12:41:58.453700Z

Error Error: Require clojure.test.check and clojure.test.check.properties before calling check.

Franklin 2020-05-18T12:42:16.454Z

I get this when I call (stest/check `filter-list)

Franklin 2020-05-18T12:45:00.454700Z

:picard-facepalm: never mind, I should have just read the error messsage

mpenet 2020-05-18T13:09:53.455300Z

@seancorfield @alexmiller @sgerguri fyi we released our internal fork of spec-coerce https://github.com/exoscale/coax

1
2020-05-18T13:10:28.455500Z

Nice, I'll have a look today - appreciate the heads up!

👍 1
Felipe Marques 2020-05-18T18:07:55.456500Z

Hi, there, I'm using spec-tools with a multi-spec, and I get the following error when trying to coerce some data:

TypeError: Cannot read property 'cljs$core$IFn$_invoke$arity$2' of null
    at type_priority (/js/cljs-runtime/spec_tools.parse.js:270:22)
    at eval (/js/cljs-runtime/cljs.core.js:7726:102)
    at eval (/js/cljs-runtime/cljs.core.js:7638:85)
    at stableCompareFn (/js/cljs-runtime/goog.array.array.js:640:12)
    at Array.sort (<anonymous>)
    at Object.goog.array.sort (/js/cljs-runtime/goog.array.array.js:626:7)
    at Object.goog.array.stableSort (/js/cljs-runtime/goog.array.array.js:642:14)
    at Function.eval [as cljs$core$IFn$_invoke$arity$2] (/js/cljs-runtime/cljs.core.js:7686:12)
    at Function.eval [as cljs$core$IFn$_invoke$arity$3] (/js/cljs-runtime/cljs.core.js:7724:23)
    at Function.eval [as cljs$core$IFn$_invoke$arity$2] (/js/cljs-runtime/cljs.core.js:7720:26)
Does anyone have a similar problem?