6.12.1rc1: non-Latin filenames in GHCi
I've noticed that when I load in GHCi a file that has a non-latin name, although it gets loaded, its name appears garbled in the message after the loading: Prelude :load πρόχειρον.hs [1 of 1] Compiling Main ( ÏÏÎ ¿ÌÏειÏον.hs, interpreted ) Ok, modules loaded: Main. *Main Is this expected, or something is wrong with my setup? It's a rather insignificant issue, but I thought to ask about it. I'm using GHC 6.12.1rc1 on Mac OS X 10.6.1. Thanks very much, Christos Chryssochoidis ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
Re: 6.12.1rc1: non-Latin filenames in GHCi
christosc: I've noticed that when I load in GHCi a file that has a non-latin name, although it gets loaded, its name appears garbled in the message after the loading: Prelude :load πρόχειρον.hs [1 of 1] Compiling Main ( ÏÏοÌÏειÏον.hs, interpreted ) Ok, modules loaded: Main. *Main Is this expected, or something is wrong with my setup? It's a rather insignificant issue, but I thought to ask about it. I'm using GHC 6.12.1rc1 on Mac OS X 10.6.1. Perhaps you're seeing the GHC support for locales in 6.12. http://ghcmutterings.wordpress.com/2009/09/30/heads-up-what-you-need-to-know-about-unicode-io-in-ghc-6-12-1/ ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
Broken link in GHC page
Hi. The link to the mailing list on the GHC page is not correct. It should link to http://www.haskell.org/ghc/docs/latest/html/users_guide/mailing-lists-GHC.html instead of http://www.haskell.org/ghc/docs/latest/html/users_guide/introduction-GHC.html#mailing-lists-GHC . Greetings. -- marcot http://marcot.iaaeee.org/ ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
[Fwd: Re: [Gtk2hs-devel] Help with build on Alpha]
Hi. I sent a mail to gtk2hs-devel about this bug, and I'm forwarding it's response to here. Greetings. Mensagem encaminhada De: Axel Simon axel.si...@ens.fr (...) On Sep 27, 2009, at 18:02, Marco Túlio Gontijo e Silva wrote: (...) I don't have a clue about this bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=540879 . Do you have any idea about what could be causing this? (...) This is a limitation of ghc. So you should ask the ghc people if they can fix this. Then we could think of a work-around. But the only workaround there is is not to bind functions that are affected by the limitation. That would pretty much rule out all modules in ModelView/ which is a rather important part of Gtk2Hs. (...) -- marcot http://marcot.iaaeee.org/ ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
Re: 6.12.1rc1: non-Latin filenames in GHCi
Thanks Don for your reply. I may have overlooked something in the blog post you gave, but my understanding is that it talks about the user's input/output to and from GHCi and the file system. The user IO with non-Latin chars seems to work fine in GHC 6.12.1; e.g.: *Main putStrLn πρόχειρον.hs πρόχειρον.hs *Main getLine = putStrLn πρόχειρον.hs πρόχειρον.hs *Main It's only when GHCi attempts to print a diagnostic message containing a filename with non-Latin chars that the garbling occurs: *Main :load πρόχειρον.hs [1 of 1] Compiling Main ( ÏÏÎ ¿ÌÏειÏον.hs, interpreted ) ÏÏοÌÏειÏον.hs:1:23: Not in scope: type constructor or class `Boo' Failed, modules loaded: none. Prelude It would be nice if the error messages at least showed correctly the filename. Maybe this has something to do with Haskeline? Anyway thanks again, Christos On 18 Οκτ 2009, at 6:11 μ.μ., Don Stewart wrote: christosc: I've noticed that when I load in GHCi a file that has a non-latin name, although it gets loaded, its name appears garbled in the message after the loading: Prelude :load πρόχειρον.hs [1 of 1] Compiling Main ( ÏÏÎ ¿ÌÏειÏον.hs, interpreted ) Ok, modules loaded: Main. *Main Is this expected, or something is wrong with my setup? It's a rather insignificant issue, but I thought to ask about it. I'm using GHC 6.12.1rc1 on Mac OS X 10.6.1. Perhaps you're seeing the GHC support for locales in 6.12. http://ghcmutterings.wordpress.com/2009/09/30/heads-up-what-you-need-to-know-about-unicode-io-in-ghc-6-12-1/ ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
Re: ANNOUNCE: GHC 6.12.1 Release Candidate 1
On Sun, Oct 11, 2009 at 3:41 PM, Ian Lynagh ig...@earth.li wrote: Hi all, We are pleased to (finally!) announce the first release candidate for GHC 6.12.1: http://darcs.haskell.org/~ghc/dist/6.12.1rc1/ As well as the source tarball: ghc-6.12.0.20091010-src.tar.bz2 there are installers for Windows (i386) and OS X (i386), and binary distributions for x86_64/Linux and i386/Linux. For the Linux binary distributions, the linux-n tarballs are recommended over the linux tarballs. Please test as much as possible; bugs are much cheaper if we find them before the release! Thanks Ian, on behalf of the GHC team I'll try to get this up in a bug report on trac as soon as it's back up, but in case I forget, here's the problem: The attached Demo.hs compiles on 6.10, but not on 6.12rc1 The output --ddump-splices for 6.10: Demo.hs:1:0: Demo.hs:1:0: Splicing declarations test == Demo.hs:6:2-5 myFunction[aLQ] = Demo2.testFun [] Ok, modules loaded: Demo2, Main. In 6.12rc1: Demo.hs:1:0: Demo.hs:1:0: Splicing declarations test == Demo.hs:6:2-5 myFunction[aNX] = testFun Demo.hs:6:2: Couldn't match expected type `[Char]' against inferred type `Char' Expected type: [String] Inferred type: [Char] In the first argument of `testFun', namely `' In the expression: testFun Failed, modules loaded: Demo2. Note that what was spliced in as [] is now being spliced in as , which is incorrect. Antoine Demo.hs Description: Binary data Demo2.hs Description: Binary data ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
Re: [Fwd: Re: [Gtk2hs-devel] Help with build on Alpha]
On Sun, 2009-10-18 at 16:01 -0200, Marco Túlio Gontijo e Silva wrote: Hi. I sent a mail to gtk2hs-devel about this bug, and I'm forwarding it's response to here. This limitation might be different now that ghc is using libffi. Duncan I don't have a clue about this bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=540879 . Do you have any idea about what could be causing this? (...) This is a limitation of ghc. So you should ask the ghc people if they can fix this. Then we could think of a work-around. But the only workaround there is is not to bind functions that are affected by the limitation. That would pretty much rule out all modules in ModelView/ which is a rather important part of Gtk2Hs. (...) ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
ghc search paths (like CPATH for gcc)
Hello, is there a mechanism for ghc similar to setting the CPATH variable for gcc? I'd like ghc to look in the given list of paths every time it compiles something, without me having to retype the flags. For ghci there is .ghci, but it gets ignored when I run ghc. Best, Misha ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users