elm-repl icon indicating copy to clipboard operation
elm-repl copied to clipboard

Helpful warning when you enter `exit`

Open rtfeldman opened this issue 10 years ago • 2 comments
trafficstars

Some other REPLs (notably irb) are exited by entering exit at the prompt. Currently if you do that in elm-repl you get this:

> exit

Error in repl-temp-000.elm:

Error on line 3, column 3 to 7:
Could not find variable 'exit'.

It would be nice if elm-repl detected this case (probably as well as quit and :q), and in addition to throwing the usual error, also helpfully suggested that perhaps the user wants to type :exit

rtfeldman avatar Jun 04 '15 10:06 rtfeldman

It would be nice if this was there when you run $ elm-repl --help

brobrts avatar Mar 17 '16 16:03 brobrts

google pointed me here to find out how to quit elm-repl, so in a way half the job is done ;)

opsb avatar Jul 22 '16 16:07 opsb