Welcome! Please see the About page for a little more info on how this works.

0 votes
in ClojureScript by

It would be a good thing to move {{cljs.repl/special-doc-map}} and {{cljs.repl/repl-special-doc-map}} to a place that is also accessible to self-host environments.

At the moment both Planck and Lumo just copy them in their code base. This is error prone and requires manual maintenance, together with being a bit hard to handle in downstream tooling - the tool now needs to know the three places where the maps are placed.

I can provide a patch so I am going to ask a) if my proposal makes sense b) what is the best way to shared them between the clj and cljs world.

5 Answers

0 votes
by

Comment made by: arichiardi

Any comment, feedback, deniable denial on this one :) ? I really think these should be somewhat public so that tooling avoids replicating them.

0 votes
by

Comment made by: dnolen

Go for it!

0 votes
by

Comment made by: arichiardi

Attached a patch moving the two maps to {{cljs.env}}. I hope it makes sense in terms of naming.

0 votes
by

Comment made by: arichiardi

I kind of think that this is not a big deal though. So feel free to dismiss this.

0 votes
by
Reference: https://clojure.atlassian.net/browse/CLJS-2808 (reported by arichiardi)
...