Ian Lynagh igloo at
Thu Mar 13 20:05:18 EDT 2008

On Thu, Mar 13, 2008 at 10:52:24PM +0000, Ross Paterson wrote:
> On Thu, Mar 13, 2008 at 03:31:37PM -0700, Simon Marlow wrote:
> > Setting the locale *might* have side-effects, for instance we noticed  
> > before that heap profiling broke in some locales because the RTS code to  
> > generate the .hp file was using fprintf to print numbers, and the number  
> > format depends on the locale.
> You could avoid this by setting LC_CTYPE instead of LC_ALL.

It's probably best if we work correctly even if the user needs to set
LC_CTYPE themselves for some reason, though.


More information about the Glasgow-haskell-users mailing list