Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spec-tools on Planck #126

Open
jgoodhcg opened this issue Jul 12, 2018 · 1 comment
Open

Spec-tools on Planck #126

jgoodhcg opened this issue Jul 12, 2018 · 1 comment

Comments

@jgoodhcg
Copy link

Attempting to use spec-tools on planck.
Environment can be reproduced with this repo, and the following commands:

docker-compose run planck plk

### plk downloads dependencies with clojure cli tool ###

cljs.user=> (require '[clojure.spec.alpha :as s])
nil
cljs.user=> (require '[spec-tools.core :as st])
Could not parse ns form spec-tools.impl in file spec_tools/impl.cljc
Invalid :refer, macro spec-tools.impl/resolve does not exist in file spec_tools/impl.cljc
cljs.user=> 

I took at look at spec_tools/impl.cljc and saw this in the ns form.

  #?(:cljs (:require-macros [spec-tools.impl :refer [resolve]]))

There is no resolve defined for #?(:cljs) so I wonder how this works in non planck cljs environment, and why it doesn't in planck?

@arichiardi
Copy link
Contributor

I think this library is not compatible with self-host ClojureScript yet, see #41.

I was planning to port it but something else came up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants