Re: [Haskell-cafe] Data.Ranges show error

2011-01-25 Thread Christian Maeder
Let's notify the maintainer to use an ordinary minus sign: http://hackage.haskell.org/package/ranges-0.2.3 my scan program (http://hackage.haskell.org/package/scan) reports: Ranges.hs:12:9: undesirable character '\t' Ranges.hs:12:51: undesirable character '\226' Ranges.hs:12:52: undesirable

Re: [Haskell-cafe] Data.Ranges show error

2011-01-25 Thread Yitzchak Gale
Christian Maeder wrote: Let's notify the maintainer to use an ordinary minus sign I actually did that two days ago. Other people probably did too. But I haven't seen any response yet. -Yitz ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

Re: [Haskell-cafe] Data.Ranges show error

2011-01-22 Thread Daniel Fischer
On Saturday 22 January 2011 03:47:55, Aaron Gray wrote: Data.Ranges.hs:12 show (Range x y) = concat [(, show x, –, show y, )] Contains the following charcter sequence :-     – Which does not seem to be supported in Windows codepage. Aaron For me, that's an en-dash (U+2013 /

Re: [Haskell-cafe] Data.Ranges show error

2011-01-22 Thread Aaron Gray
On 22 January 2011 13:15, Daniel Fischer daniel.is.fisc...@googlemail.comwrote: On Saturday 22 January 2011 03:47:55, Aaron Gray wrote: Data.Ranges.hs:12 show (Range x y) = concat [(, show x, –, show y, )] Contains the following charcter sequence :- – Which does not

Re: [Haskell-cafe] Data.Ranges show error

2011-01-22 Thread Daniel Fischer
On Saturday 22 January 2011 17:01:00, Aaron Gray wrote: For me, that's an en-dash (U+2013 / '\8211'). I believe something on your box mangled the UTF-8 encoding. Weird I did a cabal install and have not touched it with an editor. Except to look at it trying to find the issue, I suppose

Re: [Haskell-cafe] Data.Ranges show error

2011-01-22 Thread Aaron Gray
On 22 January 2011 16:31, Daniel Fischer daniel.is.fisc...@googlemail.comwrote: On Saturday 22 January 2011 17:01:00, Aaron Gray wrote: For me, that's an en-dash (U+2013 / '\8211'). I believe something on your box mangled the UTF-8 encoding. Weird I did a cabal install and have not

Re: [Haskell-cafe] Data.Ranges show error

2011-01-22 Thread Daniel Fischer
On Saturday 22 January 2011 17:42:39, Aaron Gray wrote: What's your locale? Could also be that GHC tries to interpret UTF-8 in your locale and barfs on that. Not sure ? Vista's default. Which probably isn't UTF-8. There must be an analogue of locale on Windows to check. Are you on

Re: [Haskell-cafe] Data.Ranges show error

2011-01-22 Thread Donn Cave
For me, that's an en-dash (U+2013 / '\8211'). I believe something on your box mangled the UTF-8 encoding. When I saw this last night, I looked out of curiosity and saw the same thing, as my browser rendered the source with a dash. My thought was that this morning, someone would be embarrassed

Re: [Haskell-cafe] Data.Ranges show error

2011-01-22 Thread Aaron Gray
On 22 January 2011 17:04, Daniel Fischer daniel.is.fisc...@googlemail.comwrote: On Saturday 22 January 2011 17:42:39, Aaron Gray wrote: What's your locale? Could also be that GHC tries to interpret UTF-8 in your locale and barfs on that. Not sure ? Vista's default. Which

[Haskell-cafe] Data.Ranges show error

2011-01-21 Thread Aaron Gray
I am getting the following error when trying to do a show on a Ranges object :- C:\Languages\Haskellghci rangeTest.hs GHCi, version 6.12.3: http://www.haskell.org/ghc/ :? for help Loading package ghc-prim ... linking ... done. Loading package integer-gmp ... linking ... done. Loading package