RE: GHC 6.4 release candidates available

2005-03-07 Thread Simon Peyton-Jones
| If you could specify overlapping on a per-instance basis, then that | would be a way around the problem. Yes, that's the solution I prefer. The only question is when to action it | This worked in all GHCi before 6.4 - so something has broken the (in mu | opinion) correct | behavior. Was

Re: GHC 6.4 release candidates available

2005-03-07 Thread Keean Schupke
Simon Peyton-Jones wrote: I explained in an earlier message in this thread why the new behaviour was an accidental consequence of lazy reporting of overlapping instances. So, {-# OPTIONS -fanything except overlapping instances #-} works as expected, only overlapping instances is affected. I

RE: GHC 6.4 release candidates available

2005-03-07 Thread Simon Marlow
On 04 March 2005 20:49, Keean Schupke wrote: Further to my last point, what if the top level module is Main... ghci Main.hs and that includes a main function, and pragmas, so that main runs when ghci is finished loading (automatically). GHCi doesn't run anything automatically. Could you

Re: GHC 6.4 release candidates available

2005-03-07 Thread Keean Schupke
Simon Marlow wrote: On 04 March 2005 20:49, Keean Schupke wrote: Further to my last point, what if the top level module is Main... ghci Main.hs and that includes a main function, and pragmas, so that main runs when ghci is finished loading (automatically). GHCi doesn't run anything

RE: GHC 6.4 release candidates available

2005-03-04 Thread Simon Marlow
-users- [EMAIL PROTECTED] On Behalf Of Keean Schupke Sent: 02 March 2005 17:20 To: Simon Peyton-Jones Cc: glasgow-haskell-users@haskell.org Subject: Re: GHC 6.4 release candidates available In the past having: {-# OPTIONS -fallow-overlapping-instances #-} in a module was enough to get

Re: GHC 6.4 release candidates available

2005-03-04 Thread Keean Schupke
There can only be one top level module in ghci (there can only be one module name before the '' prompt - that modules options should be in effect. The whole point of putting options at the top of the source file is so that the user/compiler of the code does not need to know which specific options

RE: GHC 6.4 release candidates available

2005-03-04 Thread Simon Marlow
On 04 March 2005 12:58, Keean Schupke wrote: There can only be one top level module in ghci (there can only be one module name before the '' prompt - that modules options should be in effect. No, you can have multiple top-level module scopes in effect. See the GHCi documentation. Simon

RE: GHC 6.4 release candidates available (breakage on x86-64)

2005-03-04 Thread Simon Marlow
On 02 March 2005 05:08, Brian Strand wrote: Donald Bruce Stewart wrote: bstrand: Donald Bruce Stewart wrote: bstrand: Simon Marlow wrote: Just to let you know, there are a number of open bug reports for GHC on the x86_64 platform, which seem to indicate some kind of occasional

Re: GHC 6.4 release candidates available

2005-03-04 Thread Keean Schupke
Simon Marlow wrote: On 04 March 2005 12:58, Keean Schupke wrote: There can only be one top level module in ghci (there can only be one module name before the '' prompt - that modules options should be in effect. No, you can have multiple top-level module scopes in effect. See the GHCi

Re: GHC 6.4 release candidates available

2005-03-04 Thread Keean Schupke
Further to my last point, what if the top level module is Main... ghci Main.hs and that includes a main function, and pragmas, so that main runs when ghci is finished loading (automatically). If main runs automatically then the context of ghci must be the Main module, so why would the options

RE: GHC 6.4 release candidates available

2005-03-03 Thread Simon Peyton-Jones
] [mailto:glasgow-haskell-users- | [EMAIL PROTECTED] On Behalf Of Keean Schupke | Sent: 02 March 2005 18:33 | To: Simon Peyton-Jones | Cc: glasgow-haskell-users@haskell.org | Subject: Re: GHC 6.4 release candidates available | | Erm, what is the module context of GHCi? I thought ghci | used the context

RE: GHC 6.4 release candidates available

2005-03-02 Thread Ralf Lammel
I think this is an old bug, or at least I have seen it months back. The overlapping instances directive does not make it to the top-level. See attached sample with the offending session. Thanks for fixing. Ralf Test.hs Description: Test.hs ___

Re: GHC 6.4 release candidates available

2005-03-02 Thread Malcolm Wallace
Ian Lynagh [EMAIL PROTECTED] writes: ghc-6.4.20050228-src.tar.bz2 I think you have unswapped the first two lines of ghc -v 21 | head -2 but not changed Reading back to Using, so old hmakes are still broken (old includes the latest release, I believe). There are a couple of other

RE: GHC 6.4 release candidates available

2005-03-02 Thread Simon Marlow
On 02 March 2005 02:10, Benjamin Franksen wrote: I haven't followed this thread too closely so please excuse me if this has already been mentioned (or even fixed). After I installed the latest binary package (20050228) the documentation was not correctly linked from the main documentation

RE: GHC 6.4 release candidates available

2005-03-02 Thread Simon Peyton-Jones
| Subject: RE: GHC 6.4 release candidates available | | I think this is an old bug, | or at least I have seen it months back. | | The overlapping instances directive does not make it to the top-level. | See attached sample with the offending session. | | Thanks for fixing. | Ralf

Re: GHC 6.4 release candidates available

2005-03-02 Thread Keean Schupke
@haskell.org | Subject: RE: GHC 6.4 release candidates available | | I think this is an old bug, | or at least I have seen it months back. | | The overlapping instances directive does not make it to the top-level. | See attached sample with the offending session. | | Thanks for fixing. | Ralf

RE: GHC 6.4 release candidates available

2005-03-02 Thread Simon Peyton-Jones
| Subject: Re: GHC 6.4 release candidates available | | In the past having: | | {-# OPTIONS -fallow-overlapping-instances #-} | | in a module was enough to get ghci to allow the overlaps. | | so we do: | | ghci Test.hs | | now it does not work (but it did in 6.3), but: | | ghci -fallow-overlapping

Re: GHC 6.4 release candidates available

2005-03-02 Thread Keean Schupke
@haskell.org | Subject: Re: GHC 6.4 release candidates available | | In the past having: | | {-# OPTIONS -fallow-overlapping-instances #-} | | in a module was enough to get ghci to allow the overlaps. | | so we do: | | ghci Test.hs | | now it does not work (but it did in 6.3), but: | | ghci -fallow

RE: GHC 6.4 release candidates available

2005-03-02 Thread Ralf Lammel
- From: Keean Schupke [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 02, 2005 9:20 AM To: Simon Peyton-Jones Cc: Ralf Lammel; glasgow-haskell-users@haskell.org Subject: Re: GHC 6.4 release candidates available In the past having: {-# OPTIONS -fallow-overlapping-instances

Re: GHC 6.4 release candidates available

2005-03-01 Thread Ian Lynagh
On Thu, Feb 10, 2005 at 01:11:48PM -, Simon Marlow wrote: We are finally at the release candidate stage for GHC 6.4. Snapshots with versions 6.4.20050209 and later should be considered release candidates for 6.4. Source and Linux binary distributions are avaiable here:

Re: GHC 6.4 release candidates available

2005-03-01 Thread Benjamin Franksen
I haven't followed this thread too closely so please excuse me if this has already been mentioned (or even fixed). After I installed the latest binary package (20050228) the documentation was not correctly linked from the main documentation page. 'Hierarchical Libraries' on the main page

Re: GHC 6.4 release candidates available (breakage on x86-64)

2005-03-01 Thread Brian Strand
Donald Bruce Stewart wrote: bstrand: Donald Bruce Stewart wrote: bstrand: Simon Marlow wrote: Just to let you know, there are a number of open bug reports for GHC on the x86_64 platform, which seem to indicate some kind of occasional memory/GC problem. I'm probably not going to be able to track

Re: GHC 6.4 release candidates available

2005-03-01 Thread Sven Panne
Ian Lynagh wrote: [...] Is there an equivalent of this (the no-OpenGL bit): $(MAKE) prefix=`pwd`/debian/tmp/usr install GhcLibsWithOpenGL=NO GhcLibsWithGLUT=NO that still works or do I have to do it by hand? The OpenGL/GLUT/OpenAL packages (and a few others) are enabled automatically if the

Re: GHC 6.4 release candidates available

2005-02-28 Thread Malcolm Wallace
Simon Peyton-Jones [EMAIL PROTECTED] writes: I think I've fixed this (on the head anyway; simon will merge to branch shortly). Care to try again? Yup, the toplevel rigid type-variable problem seems to have been fixed, thanks. nhc98 now builds as expected with ghc-6.4. BTW, there seems to be

Re: GHC 6.4 release candidates available (breakage on x86-64)

2005-02-27 Thread Brian Strand
Donald Bruce Stewart wrote: bstrand: Simon Marlow wrote: Just to let you know, there are a number of open bug reports for GHC on the x86_64 platform, which seem to indicate some kind of occasional memory/GC problem. I'm probably not going to be able to track this down until after the 6.4 release,

Re: GHC 6.4 release candidates available (breakage on x86-64)

2005-02-27 Thread Donald Bruce Stewart
bstrand: Donald Bruce Stewart wrote: bstrand: Simon Marlow wrote: Just to let you know, there are a number of open bug reports for GHC on the x86_64 platform, which seem to indicate some kind of occasional memory/GC problem. I'm probably not going to be able to track this down until

Re: GHC 6.4 release candidates available (breakage on x86-64)

2005-02-25 Thread Brian Strand
Simon Marlow wrote: Just to let you know, there are a number of open bug reports for GHC on the x86_64 platform, which seem to indicate some kind of occasional memory/GC problem. I'm probably not going to be able to track this down until after the 6.4 release, but we'll put out a patch as soon as

Re: GHC 6.4 release candidates available (breakage on x86-64)

2005-02-25 Thread Donald Bruce Stewart
bstrand: Simon Marlow wrote: Just to let you know, there are a number of open bug reports for GHC on the x86_64 platform, which seem to indicate some kind of occasional memory/GC problem. I'm probably not going to be able to track this down until after the 6.4 release, but we'll put out a

Re: GHC 6.4 release candidates available (breakage on x86-64)

2005-02-25 Thread Wolfgang Thaller
[...] warning: don't know how to split object files on this architecture [...] Wolfgang, Ryan - that looks like a splitter problem, no? Definitely. Looks like there is no splitter for x86-64. SplitObjs=NO is definitely required. (The splitter is more of a dark art than the evil mangler, I

Re: GHC 6.4 release candidates available (breakage on suse 9.2 x86 or x86-64)

2005-02-24 Thread Malcolm Wallace
Just a quick comment on a couple of things Brian Strand writes: Or is ghc/Haskell established enough that the existence of some Haskell compiler is taken for granted nowadays? Ghc is not written in pure Haskell - it is written in Ghc Haskell, i.e. it uses many extensions and internal libraries

RE: GHC 6.4 release candidates available (breakage on suse 9.2 x86 or x86-64)

2005-02-24 Thread Simon Marlow
On 24 February 2005 11:12, Malcolm Wallace wrote: Ideally, if ghc were implemented in something closer to Haskell'98, it would be possible to double-bootstrap up from gcc - nhc98 - ghc unregisterised - ghc registerised, on almost any new platform. But the amount of work required to 98-ify ghc

RE: GHC 6.4 release candidates available (breakage on suse 9.2 x86or x86-64)

2005-02-24 Thread Simon Marlow
On 24 February 2005 02:38, Wolfgang Thaller wrote: So maybe x86-Linux needs a ghc binary with as few library dependencies as possible, to facilitate bootstrapping on different Linux distros? That's a good idea. GHCi doesn't work if the GHC binary is linked with -static, so we'll have to make

Re: GHC 6.4 release candidates available (breakage on suse 9.2 x86 or x86-64)

2005-02-24 Thread Brian Strand
Jens Petersen wrote: Brian Strand wrote: Unfortunately I'm still stuck on x86-64, since there are no official binaries to bootstrap from on that platform. But at least I have a ghc to play with while waiting for x86-64 to become official. There is a x86_64 build already in Fedora Haskell.

Re: GHC 6.4 release candidates available (breakage on suse 9.2 x86 or x86-64)

2005-02-24 Thread Brian Strand
Wolfgang Thaller wrote: Brian Strand wrote: Not being intimately familiar with ghc internals, I don't know how much work this is, and whether the implementation cost exceeds the benefit (easier installation for Haskell novices like me). My guess is that for GHC, it won't work; the .hc files are

Re: GHC 6.4 release candidates available (breakage on suse 9.2 x86 or x86-64)

2005-02-24 Thread John Meacham
On Thu, Feb 24, 2005 at 11:12:06AM +, Malcolm Wallace wrote: Ideally, if ghc were implemented in something closer to Haskell'98, it would be possible to double-bootstrap up from gcc - nhc98 - ghc unregisterised - ghc registerised, on almost any new platform. But the amount of work required

Re: GHC 6.4 release candidates available (breakage on suse 9.2 x86 or x86-64)

2005-02-23 Thread Brian Strand
Jens Petersen wrote: Brian Strand wrote: Hello, I'm having some serious issues getting GHC to run on Suse 9.2/x86 (or x86-64 for that matter, although I didn't really expect that to work without some pain and suffering). I've had no luck with 6.2.2, or any 6.4 release candidate. Here is a

Re: GHC 6.4 release candidates available (breakage on suse 9.2 x86 or x86-64)

2005-02-23 Thread Anders Höckersten
Brian Strand wrote: Jens Petersen wrote: Brian Strand wrote: Hello, I'm having some serious issues getting GHC to run on Suse 9.2/x86 (or x86-64 for that matter, although I didn't really expect that to work without some pain and suffering). I've had no luck with 6.2.2, or any 6.4 release

Re: GHC 6.4 release candidates available (breakage on suse 9.2 x86 or x86-64)

2005-02-23 Thread Brian Strand
Anders Höckersten wrote: ... There are some debian packages of ghc 6.2.2 and related stuff for amd64 located here: http://debian-amd64.alioth.debian.org/pure64/pool/unstable/main/amd64/g/ghc6/ Hopefully you can find some way to convert these to a format you can install (there are programs for

RE: GHC 6.4 release candidates available (breakage on suse 9.2 x86 or x86-64)

2005-02-23 Thread Simon Marlow
On 23 February 2005 11:01, Brian Strand wrote: Thanks a lot! For anyone who runs into the same problem, here is what I did: 1. Converted to an rpm via alien -r ghc6_6.2.2-3_amd64.deb 2. Installed the resulting rpm. 3. When I tried to run ghc6, I got /usr/lib/ghc-6.2.2 # /usr/bin/ghc6

RE: GHC 6.4 release candidates available (breakage on suse 9.2 x86or x86-64)

2005-02-23 Thread Simon Marlow
On 22 February 2005 20:05, Brian Strand wrote: I'm having some serious issues getting GHC to run on Suse 9.2/x86 (or x86-64 for that matter, although I didn't really expect that to work without some pain and suffering). I've had no luck with 6.2.2, or any 6.4 release candidate. Here is a

Re: GHC 6.4 release candidates available (breakage on suse 9.2 x86 or x86-64)

2005-02-23 Thread Brian Strand
Simon Marlow wrote: On 22 February 2005 20:05, Brian Strand wrote: [ snipped ] You actually need the .hc source files too, which don't come with the source distribution because they have to be built for each target platform. That section of the Building Guide wasn't really clear enough on this

Re: GHC 6.4 release candidates available (breakage on suse 9.2 x86 or x86-64)

2005-02-23 Thread Wolfgang Thaller
Thanks, good to know; I'll read through 10.2 more carefully. I didn't think I'd need to cross-compile x86-linux to x86-linux. You don't need to - the recommended way is to download a binary version. If you don't like using binary distributions, then use it for bootstrapping only, i.e. use it

Re: GHC 6.4 release candidates available (breakage on suse 9.2 x86 or x86-64)

2005-02-23 Thread Brian Strand
Wolfgang Thaller wrote: Thanks, good to know; I'll read through 10.2 more carefully. I didn't think I'd need to cross-compile x86-linux to x86-linux. You don't need to - the recommended way is to download a binary version. If you don't like using binary distributions, then use it for

Re: GHC 6.4 release candidates available (breakage on suse 9.2 x86 or x86-64)

2005-02-23 Thread Wolfgang Thaller
Brian Strand wrote: I originally tried the binary distribution but ran into library issues. That is of course the obvious path to try, and try it I did. Rather than going straight to installing deprecated libraries, I tried to provide some feedback on ghc (especially since 6.4 RCs are out).

Re: GHC 6.4 release candidates available (breakage on suse 9.2 x86 or x86-64)

2005-02-23 Thread Jens Petersen
Brian Strand wrote: Unfortunately I'm still stuck on x86-64, since there are no official binaries to bootstrap from on that platform. But at least I have a ghc to play with while waiting for x86-64 to become official. There is a x86_64 build already in Fedora Haskell. Perhaps you can try it?

Re: GHC 6.4 release candidates available (breakage on suse 9.2 x86 or x86-64)

2005-02-22 Thread Brian Strand
Hello, I'm having some serious issues getting GHC to run on Suse 9.2/x86 (or x86-64 for that matter, although I didn't really expect that to work without some pain and suffering). I've had no luck with 6.2.2, or any 6.4 release candidate. Here is a typical example: after doing a ./configure;

Re: GHC 6.4 release candidates available (breakage on suse 9.2 x86 or x86-64)

2005-02-22 Thread Jens Petersen
Brian Strand wrote: Hello, I'm having some serious issues getting GHC to run on Suse 9.2/x86 (or x86-64 for that matter, although I didn't really expect that to work without some pain and suffering). I've had no luck with 6.2.2, or any 6.4 release candidate. Here is a typical example: after

RE: GHC 6.4 release candidates available

2005-02-21 Thread Simon Marlow
On 19 February 2005 16:40, Judah Jacobson wrote: Compiling on OS X 10.2.8 (using gcc 3.1, ghc-6.2.2) gave an error on ghc/rts/Linker.c. The tarball includes a bogus version of ghc/includes/ghcplatform.h, which from what I can tell ought to be generated by make. Deleting the file and

Re: GHC 6.4 release candidates available

2005-02-19 Thread Judah Jacobson
2 issues (6.4.20050218): Compiling on OS X 10.2.8 (using gcc 3.1, ghc-6.2.2) gave an error on ghc/rts/Linker.c. The tarball includes a bogus version of ghc/includes/ghcplatform.h, which from what I can tell ought to be generated by make. Deleting the file and re-making seemed to work for a

Re: GHC 6.4 release candidates available

2005-02-19 Thread Judah Jacobson
OK, never mind on the second count; it turned out that Apple's gcc v3.1 preprocessor can't handle c-- files. Switching to gcc v.3.3 fixed that issue. -Judah On Sat, 19 Feb 2005 11:40:23 -0500, Judah Jacobson [EMAIL PROTECTED] wrote: 2 issues (6.4.20050218): Compiling on OS X 10.2.8 (using

Re: GHC 6.4 release candidates available

2005-02-18 Thread Josef Svenningsson
Hi, Compiling 6.4.20050217 on Windows according to the book fails pretty early: snippet /cygdrive/c/ghc/ghc-6.2.2/bin//ghc -H16m -O -I. -Rghc-timing -I../../../librari es -fglasgow-exts -no-recomp-c Compat/RawSystem.hs -o Compat/RawSystem.o -o hi Compat/RawSystem.hi

The GHC.PArr module [Was: Re: GHC 6.4 release candidates available]

2005-02-17 Thread Peter Eriksen
Remi Turk rturk at science.uva.nl writes: ... I just noticed that in GHC.PArr, productP is defined wrongly productP :: (Num a) = [:a:] - a productP = foldP (*) 0 in (the likely) case that PArr is deprecated, you may want to add a DEPRECATED-pragma. I have just discovered that module

Re: GHC 6.4 release candidates available

2005-02-16 Thread Remi Turk
On Thu, Feb 10, 2005 at 01:11:48PM -, Simon Marlow wrote: We are finally at the release candidate stage for GHC 6.4. Snapshots with versions 6.4.20050209 and later should be considered release candidates for 6.4. Source and Linux binary distributions are avaiable here:

RE: GHC 6.4 release candidates available

2005-02-15 Thread Simon Marlow
On 14 February 2005 17:23, Ross Paterson wrote: If a program calls exitWith, runghc produces an extra line of output: *** Exception: exit: ExitSuccess or *** Exception: exit: ExitFailure 3 and then exits with status 0. It should do what a ghc-compiled program does: silently exit with the

RE: GHC 6.4 release candidates available

2005-02-14 Thread Simon Marlow
On 12 February 2005 07:32, John Meacham wrote: On Fri, Feb 11, 2005 at 10:49:56AM -, Simon Marlow wrote: GHC has warned you about a module clash, for which you should be grateful :-) This could have lead to strange link-time errors, or even crashes, if you had used a library module which

RE: GHC 6.4 release candidates available

2005-02-14 Thread Simon Marlow
On 12 February 2005 08:13, John Meacham wrote: System.Posix.Types.CClock and System.Posix.Types.CTime seem to be missing instances for 'Integral' as they used to have. Yes, these aren't guaranteed to be integral types according to the C99 spec. See revision 1.22 of

RE: GHC 6.4 release candidates available [GHCi reloads incorrectly]

2005-02-14 Thread Simon Marlow
On 11 February 2005 13:50, Simon David Foster wrote: If I have two simple modules, Module1 and Module2 like this; module Module1 where f = hello module Module2 where import Module1 I load up Module2 in GHCi, and I can evaluate f in Module1; Compiling Module1 (

RE: GHC 6.4 release candidates available [GHCi loads incorrectly]

2005-02-14 Thread Simon Marlow
On 11 February 2005 14:10, Simon David Foster wrote: And one other niggle, if you try and load a module which doesn't exist with :m, it doesn't load it, but it still appends it to command-line; Prelude :m + My.Module Top level: Failed to load interface for `My.Module': Could

RE: GHC 6.4 release candidates available

2005-02-14 Thread Simon Marlow
On 13 February 2005 21:30, Stephane Bortzmeyer wrote: On Thu, Feb 10, 2005 at 01:11:48PM -, Simon Marlow [EMAIL PROTECTED] wrote a message of 17 lines which said: We are finally at the release candidate stage for GHC 6.4. Snapshots with versions 6.4.20050209 and later should be

Re: GHC 6.4 release candidates available

2005-02-14 Thread Ross Paterson
If a program calls exitWith, runghc produces an extra line of output: *** Exception: exit: ExitSuccess or *** Exception: exit: ExitFailure 3 and then exits with status 0. It should do what a ghc-compiled program does: silently exit with the appropriate status.

Re: GHC 6.4 release candidates available

2005-02-12 Thread John Meacham
System.Posix.Types.CClock and System.Posix.Types.CTime seem to be missing instances for 'Integral' as they used to have. John -- John Meacham - repetae.netjohn ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org

RE: GHC 6.4 release candidates available

2005-02-11 Thread Simon Marlow
On 10 February 2005 17:07, Malcolm Wallace wrote: $ ghc-pkg-6.4.20050209 --show-package=base --field=import_dirs [/usr/malcolm/local/lib/ghc-6.4.20050209/imports] yet $ ghc-pkg-6.4.20050209 --show-package=base-1.0 --field=import_dirs ghc-pkg: cannot find package base-1.0

RE: GHC 6.4 release candidates available

2005-02-11 Thread Simon Marlow
On 10 February 2005 16:12, Malcolm Wallace wrote: Simon Marlow [EMAIL PROTECTED] writes: and how do you find out what $libdir refers to...? ghc --print-libdir Cool. Will fix hmake to use it. hmake just needs to know which modules are in which packages, right? It can find that out

RE: GHC 6.4 release candidates available

2005-02-11 Thread Simon Marlow
On 11 February 2005 01:22, John Meacham wrote: When -fglasgow-exts is on, (#) no longer seems to be recognized. (I get a parse error.) however # works fine as an infix operator. John With -fglasgow-exts, (# is the opening unboxed-tuple bracket. This has been true in GHC for a long

Re: GHC 6.4 release candidates available

2005-02-11 Thread Malcolm Wallace
Simon Marlow [EMAIL PROTECTED] writes: $ ghc-pkg-6.4.20050209 --show-package=base-1.0 --field=import_dirs ghc-pkg: cannot find package base-1.0 BTW, we recommend you migrate to using the new command-line syntax for ghc-pkg at some point. Documented where? The GHC user guide

RE: GHC 6.4 release candidates available

2005-02-11 Thread Simon Marlow
On 11 February 2005 11:07, Malcolm Wallace wrote: Simon Marlow [EMAIL PROTECTED] writes: $ ghc-pkg-6.4.20050209 --show-package=base-1.0 --field=import_dirs ghc-pkg: cannot find package base-1.0 BTW, we recommend you migrate to using the new command-line syntax for ghc-pkg at some

Re: GHC 6.4 release candidates available

2005-02-11 Thread Malcolm Wallace
Simon Marlow [EMAIL PROTECTED] writes: I'm having some trouble with the XML docbook formatting tools right now. If you have a source tree, 'make html' should work in ghc/docs/users_guide. Sadly, not. $ cvs checkout ... $ cd fptools $ autoreconf $ ./configure []

Re: GHC 6.4 release candidates available [GHCi reloads incorrectly]

2005-02-11 Thread Simon David Foster
If I have two simple modules, Module1 and Module2 like this; module Module1 where f = hello module Module2 where import Module1 I load up Module2 in GHCi, and I can evaluate f in Module1; Compiling Module1 ( ./Module1.hs, interpreted ) Compiling Module2 ( Module2.hs,

RE: GHC 6.4 release candidates available

2005-02-11 Thread Simon Marlow
On 11 February 2005 13:17, Malcolm Wallace wrote: Simon Marlow [EMAIL PROTECTED] writes: I'm having some trouble with the XML docbook formatting tools right now. If you have a source tree, 'make html' should work in ghc/docs/users_guide. Sadly, not. $ cvs checkout ... $ cd

Re: GHC 6.4 release candidates available [GHCi loads incorrectly]

2005-02-11 Thread Simon David Foster
And one other niggle, if you try and load a module which doesn't exist with :m, it doesn't load it, but it still appends it to command-line; Prelude :m + My.Module Top level: Failed to load interface for `My.Module': Could not find module `My.Module': use -v to see a list

Re: GHC 6.4 release candidates available

2005-02-11 Thread ross
For commands other than register, ghc-pkg --user operates on both the user and global package databases, whereas the the docs and online help says it operates on the user database only. Also, ghc-pkg list queries only the system database (unless --user is given), but the the docs say it queries

Re: GHC 6.4 release candidates available

2005-02-11 Thread Malcolm Wallace
Please test if you're able to, and give us feedback. It looks like GADTs (or something else new) conflict with normal Haskell'98 type inference. The following example used to compile just fine with all previous versions of ghc and nhc98. $ ghc-6.4.20050210 -package lang-c -o Parse.o

Re: GHC 6.4 release candidates available

2005-02-11 Thread John Meacham
So my hack to get ghc working on x86-64 is a bit trickier with the new version, all that is needed is to make sure -m32 is passed to gcc, as, and ld and everything works great with the i386 build of ghc. for earlier versions, I set extra_ghc_opts = [-optc-m32, -optl-m32, -opta-m32] for base in

Re: GHC 6.4 release candidates available

2005-02-10 Thread Malcolm Wallace
Simon Marlow [EMAIL PROTECTED] writes: We are finally at the release candidate stage for GHC 6.4. Snapshots with versions 6.4.20050209 and later should be considered release candidates for 6.4. Using: ghc-6.4.20050209-i386-unknown-linux.tar.bz2 $ cat hello.hs main = putStrLn hello

RE: GHC 6.4 release candidates available

2005-02-10 Thread Simon Marlow
On 10 February 2005 13:31, Malcolm Wallace wrote: Simon Marlow [EMAIL PROTECTED] writes: We are finally at the release candidate stage for GHC 6.4. Snapshots with versions 6.4.20050209 and later should be considered release candidates for 6.4. Using:

RE: GHC 6.4 release candidates available

2005-02-10 Thread Simon Marlow
On 10 February 2005 13:40, Simon Marlow wrote: On 10 February 2005 13:31, Malcolm Wallace wrote: Simon Marlow [EMAIL PROTECTED] writes: We are finally at the release candidate stage for GHC 6.4. Snapshots with versions 6.4.20050209 and later should be considered release candidates for

Re: GHC 6.4 release candidates available

2005-02-10 Thread Malcolm Wallace
Simon Marlow [EMAIL PROTECTED] writes: We are finally at the release candidate stage for GHC 6.4. Please test if you're able to, and give us feedback. In versions 5.00 = ghc = 6.2.2, the result of ghc -v 21 | head -2 was something like Glasgow Haskell Compiler, Version 6.2.2,

RE: GHC 6.4 release candidates available

2005-02-10 Thread Simon Marlow
On 10 February 2005 15:13, Malcolm Wallace wrote: Simon Marlow [EMAIL PROTECTED] writes: We are finally at the release candidate stage for GHC 6.4. Please test if you're able to, and give us feedback. In versions 5.00 = ghc = 6.2.2, the result of ghc -v 21 | head -2 was

RE: GHC 6.4 release candidates available

2005-02-10 Thread Simon Marlow
On 10 February 2005 15:36, Malcolm Wallace wrote: Simon Marlow [EMAIL PROTECTED] writes: Ok, fixed. The right way to get the location of the package.conf file is to ask ghc-pkg, BTW. In fact, the right way is not to know the location of package.conf at all, but to use ghc-pkg to query its

Re: GHC 6.4 release candidates available

2005-02-10 Thread Malcolm Wallace
Simon Marlow [EMAIL PROTECTED] writes: and how do you find out what $libdir refers to...? ghc --print-libdir Cool. Will fix hmake to use it. Regards, Malcolm ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org

Re: GHC 6.4 release candidates available

2005-02-10 Thread Malcolm Wallace
$ ghc-pkg-6.4.20050209 --show-package=base --field=import_dirs [/usr/malcolm/local/lib/ghc-6.4.20050209/imports] yet $ ghc-pkg-6.4.20050209 --show-package=base-1.0 --field=import_dirs ghc-pkg: cannot find package base-1.0 $ ghc-pkg-6.4.20050209 --list-packages

Re: GHC 6.4 release candidates available

2005-02-10 Thread Simon David Foster
On Thu, 2005-02-10 at 13:11 +, Simon Marlow wrote: Please test if you're able to, and give us feedback. I've noticed that running main of the attached code, using Proxy data-types to simulate context parameters (see previous email) still sends something into an infinite loop; is this my

Re: GHC 6.4 release candidates available

2005-02-10 Thread John Meacham
When -fglasgow-exts is on, (#) no longer seems to be recognized. (I get a parse error.) however # works fine as an infix operator. John -- John Meacham - repetae.netjohn ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org