Hmm I seem to be having some issues with special characters in the copied text:
If I start a self hosted repl then define a literal map something like follows
{:a "asf" :b "adf"}
it spits back out the result which looks basically as expected
{:b "adf", :a "asf"}
Now copy the result from proto-repl
Then in a terminal window I started a plain clojurescript repl
rlwrap lein cljsbuild repl-rhino
and paste the result
cljs.user=> {:b "adf", :a "asf"}
This is what I get back
WARNING: Use of undeclared Var cljs.user/ :a at line 1
{:b\u00A0 "adf", nil "asf"}
I had copied some output from the repl into my code and was fighting weird syntax errors I was unable to visually identify. It appears the \u00A0 is a which seems to be introduced in the formatting of the output in electron but creates some problems if just copied and pasted litterally
(initially commented in https://github.com/jasongilman/proto-repl/issues/163, but since its closed its I figured I should probably make this a new issue instead)
Hmm I seem to be having some issues with special characters in the copied text:
If I start a self hosted repl then define a literal map something like follows
{:b "adf", :a "asf"} Now copy the result from proto-repl Then in a terminal window I started a plain clojurescript repl rlwrap lein cljsbuild repl-rhino and paste the result
cljs.user=> {:b "adf", :a "asf"} This is what I get back
WARNING: Use of undeclared Var cljs.user/ :a at line 1
{:b\u00A0 "adf", nil "asf"}
I had copied some output from the repl into my code and was fighting weird syntax errors I was unable to visually identify. It appears the \u00A0 is a which seems to be introduced in the formatting of the output in electron but creates some problems if just copied and pasted litterally