Re: To show or not to show french accents

2003-12-17 Thread Max Kirillov
On Tue, Dec 16, 2003 at 07:49:26AM +0100, [EMAIL PROTECTED] wrote:
> Good morning,
> 
> The following haskell program :
> 
> --<<
> module Main where
> 
> accentLetters :: String
> accentLetters = "ИЮТ"
> 
> main :: IO ()
> main = do putStr (show accentLetters)
> -->>
> 
> after being compiled will give the result :
> 
> "\233\224\244"
> 
> But, exactly the same program, without the "show" function will give the result:
> 
> ИЮТ
>
> Is there some way to have "show" show all the printable characters, even those
> represented by a value greater than the US-ASCII 7 bits (127) ?
> 

The specific octet may be printable character or not depending on your
charset. For instance, your letters are printable in koi8-r (showing
upper Russian I YU T), but not in cp866 (al least recode cp866..koi8-r
fails on them).

The "show" function represents your over-127 bytes in portable and
readable (by read) way and, I think, it does right.

-- 
Max
___
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


RE: ANNOUNCE: GHC version 6.2

2003-12-17 Thread Simon Marlow
 
> since GHC version 6.2.the following link is missing:
> 
> http://www.haskell.org/ghc/docs/latest/html/base/index.html
> 
> I asume that I need to change my bookmark to:
> 
> http://www.haskell.org/ghc/docs/latest/html/libraries/index.html

Correct - the libraries docs are now build with the latest version of
Haddock, which merges all the packages into a single contents/index.

Cheers,
Simon
___
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: ANNOUNCE: GHC version 6.2

2003-12-17 Thread Christian Maeder
since GHC version 6.2.the following link is missing:

http://www.haskell.org/ghc/docs/latest/html/base/index.html

I asume that I need to change my bookmark to:

http://www.haskell.org/ghc/docs/latest/html/libraries/index.html

Cheers Christian

___
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: ghc-6.2 rpm package available

2003-12-17 Thread Hiroyuki Miyoshi
Hi Jens,

It's excellent, but we cannot use it
because Japanese dominant distribution
Vine Linux adopts, as its policy,
stable but old libraries including glib.

Could you also put SRPM files of GHC6.2 for us to rebuild it?

Hiroyuki Miyoshi

From: Jens Petersen <[EMAIL PROTECTED]>
Subject: ghc-6.2 rpm package available
Date: Wed, 17 Dec 2003 21:37:22 +1000

> An rpm package of ghc 6.2 for i386 Linux (glibc 2.3) is
> available now at:
> 
>   http://haskell.org/~petersen/rpms/ghc/?C=M&O=D
> 
> Cheers, Jens
___
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


ghc-6.2 rpm package available

2003-12-17 Thread Jens Petersen
An rpm package of ghc 6.2 for i386 Linux (glibc 2.3) is
available now at:

http://haskell.org/~petersen/rpms/ghc/?C=M&O=D

Cheers, Jens
___
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users