We're updating the issue view to help you get more done. 

spec/double-in not implemented

Description

spec/double-in is available in Clojure 1.9.0-alpha10, but doesn't seem to be implemented yet in Clojurescript as of 1.9.89. I also tried 1.9.76: not there either.

1 2 3 4 5 6 7 8 9 10 11 12 13 cljs.user=> (require '[cljs.spec :as s]) nil cljs.user=> (s/valid? #(and (>= % 0.0) (<= % 1.0)) 1.0) ---- Compiler Warning on <cljs form> line:1 column:12 ---- Use of undeclared Var cljs.spec/double-in 1 (s/valid? (s/double-in :min 0.0 :max 1.0) 1.0) ^--- ---- Compiler Warning ---- #object[TypeError TypeError: Cannot read property 'call' of undefined] nil

(Newbie ticket. Apologies if this is a dupe ticket or doesn't belong here. I couldn't find any tickets that seemed to mention this issue.)

Environment

Clojurescript 1.9.89

Status

Assignee

David Nolen

Reporter

import

Labels

Approval

None

Patch

None

Affects versions

1.9.76

Priority

Major