On Sat Jul 18 08:07:40 2015, lue wrote:
> None of the interpreters I tried (which include irb, python, python3,
> and ghci) show "^D" upon pressing Ctrl-D, so I don't think this is
> something the Perl 6 REPL should do. Whether it should print a newline
> or not is still a question, however (currently it doesn't, the other
> interpreters I tried do).

Here's my REPL today, first exiting with ^D.

$ perl6
To exit type 'exit' or '^D'
> 2+20
22
>

$

Then with exit:

$ perl6
To exit type 'exit' or '^D'
> 3+4
7
> exit
$


I think this meets the criteria of the original request. Closable with tests.


-- 
Will "Coke" Coleda

Reply via email to