Skip to content
  • Simon Marlow's avatar
    [project @ 2005-01-26 12:58:09 by simonmar] · 66797dc0
    Simon Marlow authored
    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.
    66797dc0