[GHC] #966: add withFile and withBinaryFile

GHC trac at galois.com
Thu Nov 9 14:31:38 EST 2006


#966: add withFile and withBinaryFile
----------------------------+-----------------------------------------------
 Reporter:  ross            |          Owner:         
     Type:  proposal        |         Status:  closed 
 Priority:  normal          |      Milestone:         
Component:  libraries/base  |        Version:  6.6    
 Severity:  normal          |     Resolution:  fixed  
 Keywords:                  |     Difficulty:  Unknown
 Testcase:                  |   Architecture:  Unknown
       Os:  Unknown         |  
----------------------------+-----------------------------------------------
Changes (by ross):

  * resolution:  => fixed
  * status:  new => closed

Comment:

 Supported by Jason Dagit, David Roundy, Don Stewart and Malcolm Wallace.
 No dissent.

 It was noted that it would be even better if the functions prevented use
 of the Handle outside their scope.  Oleg has shown
 [http://www.haskell.org/pipermail/haskell/2006-January/thread.html#17410
 how to do this] but it requires a different monad.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/966>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list