I want to eval the following code. (s/def :a/b any?)
So far, I have wrapped it in do form with cljs.spec like this: (do (require '[cljs.spec :as s]) (s/def :a/b any?)) and tried to eval them separately like this: (eval (empty-state) (require '[cljs.spec :as s]) ...) (eval (empty-state) (s/def :a/b any?) ...) but neither works, now I've read somewhere that you should provide library loader to eval opts map. Is there some simpler way to do instead? if not, how should you implement library loader? -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups "ClojureScript" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/clojurescript.
