Skip to content
  • sof's avatar
    [project @ 1999-02-25 10:18:28 by sof] · aef250c3
    sof authored
    hClose: don't raise an exception when passed a handle that's already closed,
    i.e.,
    
        h <- openFile "a" ReadMode >> hClose h >> hClose h
    
    will now succeed (provided 'a' exists and is readable, of course.)
    Repeated hClose's are just redundant.
    aef250c3