[project @ 2005-01-26 12:58:09 by simonmar]
fileLoop: catch InvalidArgument and behave as for EOF (i.e. terminate the session). This means that the user can close stdin to end a GHCi session, but it also means that the tests that run programs which use getContents inside GHCi won't crash because stdin has been closed.
Showing with 10 additions and 3 deletions