Scala Ammonite REPL: How to add/paste multiline input

As a quick note, if you need to paste multiple lines of input at one time to the Ammonite REPL, paste your code inside a block. This is particularly helpful when you need to paste something like a companion class and companion object into the Ammonite REPL:

@ {
    // your code starts
    class Foo {
        // code here ...
    }
    object Foo {
        // code here ...
    }
    // your code ends
}

As shown, just include your code inside the opening and closing curly braces.