[Haskell-cafe] WildCard question
Jon.Fairbairn at cl.cam.ac.uk
Tue Apr 13 19:20:28 EDT 2004
On 2004-04-13 at 18:52+0200 Ketil Malde wrote:
> Paul Cosby <cozbie at yahoo.co.uk> writes:
> > Every time I try to use [underscore] in an definition it says
> > something like the symbol /017 is not recognised
> Could that be \017, i.e. octal 17 (defined in ASCII as SI, whatever
> that may be)?
SI is Shift In, if I remember correctly, not that the
operation of devices like Flexowriters is of any
relevance. However, I'd guess that it's hexadecimal 17,
because ord '_' `rem` 16 == 15 == 0x17. So for some reason
it's talking about the botom four bits of '_'!
> > Any help suggestions?
> Wild guess: Are your files using the same character set as
> your Haskell system is expecting? I know Windows pulls
> some occasional stunts with the character set (and
> occasionally lies about it), but I wasn't aware that it
> affected underscore.
Windows is a mystery to me, however. My guess would be
something translating from one page of a character table to
another. What locale are you in?
Jón Fairbairn Jon.Fairbairn at cl.cam.ac.uk
More information about the Haskell-Cafe