#5420: writeFile should use openBinaryFile
---------------------------+------------------------------------------------
Reporter: Tinctorius | Owner:
Type: bug | Status: closed
Priority: normal | Milestone:
Component: Prelude | Version: 7.2.1
Resolution: invalid | Keywords:
Testcase: | Blockedby:
Difficulty: | Os: Unknown/Multiple
Blocking: | Architecture: Unknown/Multiple
Failure: None/Unknown |
---------------------------+------------------------------------------------
Changes (by simonmar):
* status: new => closed
* resolution: => invalid
Comment:
This is by design. If you want to write binary data, use
`openBinaryFile`, or the `Data.ByteString` library instead.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5420#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs