Skip to content

Instantly share code, notes, and snippets.



Forked from borkdude/init.cljs
Last active Nov 7, 2018
What would you like to do?
Speculative + Expound in Klipse
(require '[cljs.spec.alpha :as s])
(require '[cljs.spec.test.alpha :as stest])
(require '[expound.alpha :as expound])
(require '[speculative.core])
(set! s/*explain-out* (expound/custom-printer {:show-valid-values? true}))
(stest/instrument `map)
(map 'lol 'lol)
(catch :default e
(println (.-message e))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment