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

GHC ghc-devs at haskell.org
Tue Sep 2 14:53:18 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:              |          Version:  7.8.2
  libraries/base                     |         Keywords:
            Resolution:              |     Architecture:  Unknown/Multiple
      Operating System:              |       Difficulty:  Unknown
  Unknown/Multiple                   |       Blocked By:
       Type of failure:              |  Related Tickets:
  None/Unknown                       |
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by dfeuer):

 We probably also want to make sure that `hPutStr'`, `writeBlocks`, and/or
 whatever other pieces are inlined into `hPutStr` and `hPutStrLn` to avoid
 unnecessary tests for `add_nl`.

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


More information about the ghc-tickets mailing list