Re: GHC 6.2 breaks multiline string literals
On Sun, Dec 28, 2003 at 02:54:52AM +0100, Stefan Reich wrote: Ferenc, thanks for your answer. It doesn't really solve my problem though... 1. Your method doesn't preserve the line-breaks within the resulting string. 2. Surrounding each line with special chars is actually what I want to avoid. What I'm looking for is something similar to Perl's and PHP's operator. I have also wanted something like that on several occasions. ideally, I'd like something like python where. foo = hello this is preformatted text. will be the same as foo = hello this is\npreformatted text.\n -- --- John Meacham - California Institute of Technology, Alum. - [EMAIL PROTECTED] --- ___ Glasgow-haskell-users mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
GHC Warning Request
When -fwarn-unused-imports is switched on, import M() should not issue a warning. In 6.2, it does. The idea is that I only wish to import instance declarations here, and that's the obvious way of making that explicit. I'm using -Werror (new in 6.2, thanks), and most of the time I'm interested in knowing about superfluous imports. -- Ashley Yakeley, Seattle WA ___ Glasgow-haskell-users mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
ghc 6.2 build problem (MinGW/MSYS)
I'm pretty new with GHC and I have prblem building ghc 6.2 with MinGW compiler in MSYS environment. After running configure --prefix=/mingw ; make make fails with: [snip] copying ./mpn/generic/gmp-mparam.h to gmp-mparam.h gcc -E -mno-cygwin -undef -traditional -I../includes -x c -DHAVE_LIBMINGWEX package.conf.in \ | sed 's/^#.*$//g' package.conf.inplace gcc -E -mno-cygwin -undef -traditional -I../includes -DINSTALLING -x c -DHAVE_LIBMINGWEX package.conf.in \ | sed 's/^#.*$//g' package.conf.installed ../utils/ghc-pkg/ghc-pkg-inplace --update-package package.conf.inplace ../utils/ghc-pkg/ghc-pkg-inplace: /ghc/utils/ghc-pkg/ghc-pkg.exe: No such file or directory ../utils/ghc-pkg/ghc-pkg-inplace: exec: /ghc/utils/ghc-pkg/ghc-pkg.exe: cannot execute: No such file or directory make[2]: *** [../driver/stamp-pkg-conf-rts] Error 126 make[1]: *** [boot] Error 1 make[1]: Leaving directory `/home/gour/ghc-6.2/ghc' make: *** [build] Error 1 I have tried to modify the script by changing paths, but then I broke another thing. The same source tarball builds normally under Gentoo Linux with appropriate ebuild. Question: does anyone built ghc 6.2 with MinGW MSYS (via configure)? (Since on Win98 I compile everything with MinGW/MSYS and install all the packages under /mingw tree,I'd like to do the same with ghc, and not to use binary installer since it comes with its own Perl ...) I'm using binary ghc-6.0.1 in building process. Sincerely, Gour -- Gour [EMAIL PROTECTED] Registered Linux User #278493 ___ Glasgow-haskell-users mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
ghc-6-2-1.msi broken?
After having problem in building ghc-6.2 from source tarball, I installed ghc-6-2-1.msi build and then tried to compile darcs with it, but, strangely enough, configure script fails when trying to compile Hello world! program. I tried to compile: bash-2.05b# cat main.hs module Main(main) where main = putStrLn Hello world!\n but ghc only produces main.hi file - no output file main. The same result within MSYS MSDOS prompt. However, the same 'program' compiles and produces executable on my Gentoo box. It looks like Win32 build of ghc-6.2 is broken or am I missing something (being still a ghc newbie in the begining stages of learning Haskell :-( Sincerely, Gour -- Gour [EMAIL PROTECTED] Registered Linux User #278493 ___ Glasgow-haskell-users mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-users