metasoarous / oz

Data visualizations in Clojure and ClojureScript using Vega and Vega-lite

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issues using spec with new notebook features

metasoarous opened this issue · comments

The following code in a notebook produces an error:

(s/def ::probability
  (s/double-in :min 0 :max 1))

The error in oz logs:

java.lang.ClassCastException

My guess is this is a result of the macro expansion doing something weird at the analysis step, but it could also be trying to treat it as a hiccup form somehow. Will have to explore this in greater depth to figure out what is going on (no stack trace).