How to clear/reset a Scala REPL session (without having to kill the session)
Briefly

A cool feature of the Scala REPL is that you can reset/clear a REPL session. Just issue the :reset command to reset the interpreter state.
:reset command will show you everything that it dumps, including session history like defined types and expression results.
If you ever need to clear your Scala REPL session, it's great that you can reset the session, rather than having to kill it and start over.
This is particularly useful when testing and needing a fresh start, especially if implicit values in parameter lists are incorrectly set.
Read at Alvinalexander
[
]
[
|
]