-
Notifications
You must be signed in to change notification settings - Fork 34
Can't paste multi-line code into REPL #141
Comments
Thanks for the issue! Make sure it satisfies this checklist. My human colleagues will appreciate it! Here is what to expect next, and if anyone wants to comment, keep these things in mind. |
Hi Will, You need to add backslash, \ , at the end of each line, except the last line, then hit enter, in order to be able to add multi-lines all at once. Is that what your doing? You should be able to copy and paste the code as is below and then just hit enter to allow multi-lines in elm-repl. Let me know if this works for you.
|
Sorry, I should have said I know about the backslashes! At least without a tool, it's a chore to have to do that. |
For reference, the main Haskell REPL, ghci, handles multiline input like so
Source: https://en.wikibooks.org/wiki/Haskell/Using_GHCi_effectively#Multi-line_Input |
For reference, the main Scala REPL, handles multiline input like so
|
I'd like to copy and paste this code into the REPL:
But when I do each line is executed individually so there are lots of syntax errors.
The text was updated successfully, but these errors were encountered: