In python REPL I can do things like:
>>> [1,2,3,4]
[1, 2, 3, 4]
>>> sum(_)
10
In clojure REPL I can do this:
user=> "Hello!"
"Hello!"
user=> *1
"Hello!"
Is there is something like this in Scala REPL?
In python REPL I can do things like:
>>> [1,2,3,4]
[1, 2, 3, 4]
>>> sum(_)
10
In clojure REPL I can do this:
user=> "Hello!"
"Hello!"
user=> *1
"Hello!"
Is there is something like this in Scala REPL?