[GHC] #9542: GHC-IO-Handle-Text.hputStr' and writeBlocks look like they need refactoring

GHC ghc-devs at haskell.org
Tue Sep 2 14:47:53 UTC 2014


#9542: GHC-IO-Handle-Text.hputStr' and writeBlocks look like they need refactoring
-------------------------------------+-------------------------------------
       Reporter:  dfeuer             |                   Owner:
           Type:  task               |                  Status:  new
       Priority:  normal             |               Milestone:
      Component:  libraries/base     |                 Version:  7.8.2
       Keywords:                     |        Operating System:
   Architecture:  Unknown/Multiple   |  Unknown/Multiple
     Difficulty:  Unknown            |         Type of failure:
     Blocked By:                     |  None/Unknown
Related Tickets:                     |               Test Case:
                                     |                Blocking:
                                     |  Differential Revisions:
-------------------------------------+-------------------------------------
 The boundary between `writeBlocks` and `hPutStr'` looks badly drawn, with
 pieces of buffering type on either side. I would also speculate that one
 or more CRLF-related helper functions may be in order.

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


More information about the ghc-tickets mailing list