[GHC] #1548: printf bugs

GHC trac at galois.com
Tue Sep 16 11:14:25 EDT 2008


#1548: printf bugs
----------------------------+-----------------------------------------------
 Reporter:  l.mai at web.de    |          Owner:  simonmar        
     Type:  bug             |         Status:  new             
 Priority:  normal          |      Milestone:  6.10 branch     
Component:  libraries/base  |        Version:  6.6.1           
 Severity:  normal          |     Resolution:                  
 Keywords:                  |     Difficulty:  Moderate (1 day)
 Testcase:                  |   Architecture:  Unknown         
       Os:  Unknown         |  
----------------------------+-----------------------------------------------
Changes (by simonmar):

  * milestone:  6.10.1 => 6.10 branch

Comment:

 New version committed, but the third example in the original report still
 gives the apparently wrong result

 {{{
 Prelude Text.Printf> printf "%10.5d" 4 :: String
 "         4"
 (expected: "     00004")
 }}}

 {{{
 Tue Sep 16 14:35:05 BST 2008  Simon Marlow <marlowsd at gmail.com>
   * Fix bugs in Text.Printf (#1548)
 }}}

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


More information about the Glasgow-haskell-bugs mailing list