replete-repl / replete-ios

ClojureScript REPL iOS app
Eclipse Public License 1.0
395 stars 25 forks source link

in-ns needs to create ns if nonexistent #72

Closed mfikes closed 8 years ago

mfikes commented 8 years ago

(in-ns 'foo.core) followed by (def a 3) should work even if the foo.core namespace doesn't yet exist

arichiardi commented 8 years ago

Actually the solution is in planck already :smile: ... https://github.com/mfikes/planck/blob/master/planck-cljs/src/planck/repl.cljs#L114