problem compiling OpenGL/.../Extensions.hs with GHC version 6.0

2003-06-02 Thread Andres Loeh
Hi. The problem that Ralf Hinze reported with compiling GHC version 6.0 seems to be caused by the following: The problematic line in the source file where the parse error is reported reads (this is OpenGL/Graphics/Rendering/OpenGL/GL/Extensions.hs): foreign import CALLCONV unsafe

RE: Ways and Build Tags for Optimisation

2003-06-02 Thread Ashley Yakeley
At 2003-05-30 04:25, Simon Peyton-Jones wrote: We'd like to understand why the file gets so much bigger. Can you send us the smallest example you can that shows the 1000x ballooning? Working on it. It may take awhile as even the non-ballooning ones take an hour or two to compile: the ballooners

Re: problem compiling OpenGL/.../Extensions.hs with GHC version 6.0

2003-06-02 Thread Sven Panne
Quick guess: Are we using the wrong type of quotes ( instead of '') in SysTools now? Previous GHCs quoted -D/-U options with the latter ones... Cheers, S. ___ Glasgow-haskell-bugs mailing list [EMAIL PROTECTED]

Re: Mac Port

2003-06-02 Thread Gregory Wright
On Sunday, June 1, 2003, at 05:15 AM, Wolfgang Thaller wrote: Seth Kurtzberg wrote: Is there, or is anyone working on, ports for Mac OSX and/or Mac OS9? I'm currently responsible for the Mac OS X version of GHC. I'll upload a GHC 6.0 binary for Mac OS X binary as soon as possible, but I'm

Re: Mac Port

2003-06-02 Thread Wolfgang Thaller
Dear Wolfgang, I maintain the Hugs port for the darwinports system (a cousin of fink and perhaps the successor to the *bsd ports system). I'd like to add a port for ghc-6.0. I tried to build it but ran into some problems. 1. configure doesn't pass the CPPFLAGS and LDFLAGS environment variables

Re: ANNOUNCE: GHC version 6.0 (Broken Doc link)

2003-06-02 Thread gilesb
In the release notes, the link to Data.Generics is broken, both under the latest branch and under the 6.0 branch. On 29 May, Simon Marlow wrote: The (Interactive) Glasgow Haskell Compiler -- version 6.0

Re: Mac Port

2003-06-02 Thread Gregory Wright
On Sunday, June 1, 2003, at 07:36 PM, Wolfgang Thaller wrote: Dear Wolfgang, I maintain the Hugs port for the darwinports system (a cousin of fink and perhaps the successor to the *bsd ports system). I'd like to add a port for ghc-6.0. I tried to build it but ran into some problems. 1.

Re: ANNOUNCE: GHC version 6.0

2003-06-02 Thread Malcolm Wallace
Sven Panne [EMAIL PROTECTED] writes: Hmm. Perhaps you should rename the long form of -L to --list-local-packages. Just a small note: This was a buglet in System.Console.GetOpt.getOpt, which has been fixed since GHC 5.04.3. Consequently this does not happen if you use a GHC = 5.04.3

Re: ANNOUNCE: GHC version 6.0

2003-06-02 Thread Andres Loeh
Hmm. Perhaps you should rename the long form of -L to --list-local-packages. Just a small note: This was a buglet in System.Console.GetOpt.getOpt, which has been fixed since GHC 5.04.3. Consequently this does not happen if you use a GHC = 5.04.3 for compiling GHC 6.0. But to be

long constant list of pairs (was Re: Ways and Build Tags for Optimisation)

2003-06-02 Thread Christian Maeder
4. Re: Ways and Build Tags for Optimisation (Ashley Yakeley) From: Ashley Yakeley [EMAIL PROTECTED] Subject: Re: Ways and Build Tags for Optimisation Date: Thu, 29 May 2003 20:40:59 -0700 Sorry for replying from a digest. (Replying from the archive is not better, is it?) Inside the module is

RE: GHC 6.0 Release: sparc-solaris2 binaries

2003-06-02 Thread Josef Svenningsson
On Fri, 30 May 2003, Simon Marlow wrote: A binary version of GHC6 is available for sparc-solaris2 machines at: http://www.isi.edu/~hdaume/ghc-6.0-sparc-solaris2.tar.bz2 17.5 mb I'd appreciate it if the maintainers could copy it and make it available locally off of the GHC web

RE: ANNOUNCE: GHC version 6.0

2003-06-02 Thread Simon Marlow
Sven Panne [EMAIL PROTECTED] writes: Hmm. Perhaps you should rename the long form of -L to --list-local-packages. Just a small note: This was a buglet in System.Console.GetOpt.getOpt, which has been fixed since GHC 5.04.3. Consequently this does not happen if you use a GHC

Re: ANNOUNCE: GHC version 6.0

2003-06-02 Thread Jens Petersen
20030530()0006 Simon Marlow : We are pleased to announce a new major release of the Glasgow Haskell Compiler (GHC), version 6.0. Thanks for the release! :-) I have built rpms of ghc-6.0 on Red Hat Linux 9. I didn't build the libraries with profiling this time, however the package includes the

Re: Eval in Haskell

2003-06-02 Thread oleg
Tomasz Zielonka wrote: I don't know how it works in Python, but in perl the code in eval is executed in current lexical scope. Eval of the kind let x = 1 in eval x is plainly an abomination. Such an eval all but precludes compilation because the compiler is not free to alpha-rename

Re: ANNOUNCE: GHC version 6.0

2003-06-02 Thread Jens Petersen
20030530()0006 Simon Marlow : We are pleased to announce a new major release of the Glasgow Haskell Compiler (GHC), version 6.0. Thanks for the release! :-) I have built rpms of ghc-6.0 on Red Hat Linux 9. I didn't build the libraries with profiling this time, however the package includes the

Re: Eval in Haskell

2003-06-02 Thread Lauri Alanko
[Moving to cafe, this is only barely Haskell-related.] On Sun, Jun 01, 2003 at 04:16:36PM -0700, [EMAIL PROTECTED] wrote: Eval of the kind let x = 1 in eval x is plainly an abomination. I agree, though not because of the optimization issues but rather as a matter of principle: a closed

Re: Eval in Haskell

2003-06-02 Thread Ashley Yakeley
In article [EMAIL PROTECTED], Lauri Alanko [EMAIL PROTECTED] wrote: Nevertheless, this abomination is supported even by some scheme implementations: guile (define local-environment (procedure-syntax (lambda (exp env) env))) guile (define (eval-where-x-bound exp) ... (let ((x 'foo))

Re: Is my question bad ?

2003-06-02 Thread Pablo Dejuan
Karl M Syring wrote: Antoine Utonium wrote on Sat, 31 May 2003 13:29:09 +0200: I recently asked you who knows how to link haskell-made code to C apps, or call haskell code from C code, or encapsulate, traduce, Haskell code in C code. I just want to use haskell when I need advanced

Re: Is my question bad ?

2003-06-02 Thread Antoine Utonium
Karl M Syring wrote: Antoine Utonium wrote on Sat, 31 May 2003 13:29:09 +0200: I recently asked you who knows how to link haskell-made code to C apps, or call haskell code from C code, or encapsulate, traduce, Haskell code in C code. I just want to use haskell when I need advanced algorithms,

Re: Eval in Haskell

2003-06-02 Thread Lauri Alanko
[We now have lost all pretence of topicality] On Sun, Jun 01, 2003 at 08:43:03PM -0700, Ashley Yakeley wrote: Guile seems to be a bit sloppy in general. I think it just keeps a dictionary of symbol bindings and passes it around at runtime. guile (eval '(define b 5)) guile b 5 This

Re: Is my question bad ?

2003-06-02 Thread Alastair Reid
On Saturday 31 May 2003 12:29 pm, Antoine Utonium wrote: I recently asked you who knows how to link haskell-made code to C apps, or call haskell code from C code, or encapsulate, traduce, Haskell code in C code. I just want to use haskell when I need advanced algorithms, C for I/O, and GUI

a readFile problem

2003-06-02 Thread Naudts, Guido
Hallo, I have the following problem: my program asks the user for a command, when the command is executed a new command is asked (this is no problem ; an example is in the HUgs distribution namely Main.hs in the Prolog example. However one of the commands is: read filename i.e. read a file and