• simonmar's avatar
    [project @ 2002-01-28 13:47:05 by simonmar] · 6d550803
    simonmar authored
    Never close std file descriptors.  This works around a "problem" in
    GHCi: if the program reaches EOF on stdin, it might close it, which in
    turn causes the interactive shell to fall over with a "bad file
    descriptor" error when it tries to read from stdin.
PrelHandle.hs 40.3 KB