Re: [GHC] #3058: Add a 'hex' function to the pretty printing
#3058: Add a 'hex' function to the pretty printing -+-- Reporter: TomMD | Owner: Type: proposal| Status: closed Priority: normal | Milestone: Not GHC Component: libraries/base |Version: Resolution: wontfix | Keywords: pretty, prettyprint, library Difficulty: Unknown | Os: Unknown/Multiple Testcase: | Architecture: Unknown/Multiple Failure: None/Unknown| -+-- Changes (by igloo): * status: new = closed * failure: = None/Unknown * resolution: = wontfix Comment: Looks like an abandoned proposal -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/3058#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #3058: Add a 'hex' function to the pretty printing
#3058: Add a 'hex' function to the pretty printing -+-- Reporter: TomMD |Owner: Type: proposal | Status: new Priority: normal|Milestone: Not GHC Component: libraries/base| Version: Severity: normal| Resolution: Keywords: pretty, prettyprint, library | Difficulty: Unknown Testcase:| Os: Unknown/Multiple Architecture: Unknown/Multiple | -+-- Changes (by igloo): * difficulty: = Unknown * milestone: = Not GHC -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/3058#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
[GHC] #3058: Add a 'hex' function to the pretty printing
#3058: Add a 'hex' function to the pretty printing -+-- Reporter: TomMD | Owner: Type: proposal | Status: new Priority: normal| Component: libraries/base Version:| Severity: normal Keywords: pretty, prettyprint, library | Testcase: Os: Unknown/Multiple | Architecture: Unknown/Multiple -+-- Attached is a patch for Text.PrettyPrint.HughesPJ that adds a 'hex' function to print hexidecimal numbers. The only point that I exepect to be contended is it varies slightly from the surrounding functions in that it allows one to control the number of characters printed (see below). hex 5 31 0001f hex 2 8 08 hex 3 7495 d47 While we can argue about the consistancy issues, I almost always want to control the number of digits when I'm dealing with hex. Hence I feel this is a reasonable special case. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/3058 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs