Of course I meant

hPutStr handle (map (chr .word8ToInt) protocolElement)





Dominic J Steinitz@baexternal
24/05/2001 18:47
To:     v-julsew
cc:     glasgow-haskell-users
haskell
bcc:    Dominic Steinitz
Subject:        Re: ghc-5.00.1 is available

Will this

   - Initial Unicode support - the Char type is now 31 bit

cause me a problem?

I am sending protocol elements via a socket. I represent these as [Word8]. I had
 assumed that when I want to send something I do

hPutStr (map (ord .word8ToInt) protocolElement)

essentially doing a type coercion. But this looks like bits actually get changed
 into something the respondent won't recognise.

Dominic.

--------------------------------------------------------------------------------
-----------------
21st century air travel     http://www.britishairways.com

_______________________________________________
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell




-------------------------------------------------------------------------------------------------
21st century air travel     http://www.britishairways.com

_______________________________________________
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell

Reply via email to