Closed Linicks closed 7 years ago
The problem is likely due to the location of your cursor when executing a block. If it's inside the map or right next to it it will "execute" the map which just returns the map. You can move your cursor or use the keystroke for the outermost block.
Awesome, that worked :) Thx!
While going through Clojure For The Brave And True, I tried to perform a simple exercise where you get a value from a map. In Proto-Repl, I get the following incorrect answer when trying block execution:
(get {:a 1 :b 2 :c 3} :b) -> {:a 1 :b 2 :c 3}
In a standard Lein-Repl, I get the following correct answer: (get {:a 1 :b 2 :c 3} :b) -> 2
Why am I seeing this odd behavior? Is this a bug?
Thanks! -- Nick