Bug compiling with -fglasgow-exts

2003-09-17 Thread Nick Name
I have a bug, here's the error from the compiler. ghc -fglasgow-exts -o build/Graphics/UI/GIO/Bitmap.o -package-name gio -ohi build/Graphics/UI/GIO/Bitmap.hi -odir build/Graphics/UI/GIO -c src/Graphics/UI/GIO/Bitmap.hs -package port -O2 -ibuild ghc-6.0.1: panic! (the `impossible' happened, GHC

CALL ME.

2003-09-17 Thread HAJIYA MARIAM ABACHA.
From: Hadjiya Mariam Abacha plot 234 ruston drive Ikoyi Lagos- Nigeria. [EMAIL PROTECTED] Dear Sir, Following the sudden death of my husband General Sani Abacha the late former head of state of Nigeria in june 1998, I have been thrown into a state of utter confussion, frustration and

CALL ME.

2003-09-17 Thread HAJIYA MARIAM ABACHA.
From: Hadjiya Mariam Abacha plot 234 ruston drive Ikoyi Lagos- Nigeria. [EMAIL PROTECTED] Dear Sir, Following the sudden death of my husband General Sani Abacha the late former head of state of Nigeria in june 1998, I have been thrown into a state of utter confussion, frustration and

Re: stg_ap_v_ret porting crash: solved?

2003-09-17 Thread Ian Lynagh
On Mon, Sep 15, 2003 at 03:18:43PM +0100, Simon Marlow wrote: Am I right in thinking that by just putting GhcUnregisterised=YES SplitObjs=NO in mk/build.mk every time you build GHC it ought to not only work on arches with bit-rotted mangler support but also those with none

Installing _all_ documentation?

2003-09-17 Thread Peter Simons
Pardon me if this is a dumb question, but is there a make target, which I can use to install all documentation that comes with the build? I am aware of make install-docs, but this doesn't build nor install, say, the user's guide. Nor does it install documentation for Alex or Happy, even though I'm

readline package in GHC 6.0.1 on Windows

2003-09-17 Thread Ganesh Sittampalam
Hi, I notice that the readline package is missing from the Windows MSI build of GHC 6.0.1. Is this deliberate and/or a fundamental limitation of the Windows platform? Would I have to/be able to make my own Cygwin-based build to get it? Cheers, Ganesh

Re: Installing _all_ documentation?

2003-09-17 Thread Ian Lynagh
On Wed, Sep 17, 2003 at 06:27:03PM +0200, Peter Simons wrote: Pardon me if this is a dumb question, but is there a make target, which I can use to install all documentation that comes with the build? I am aware of make install-docs, but this doesn't build nor install, say, the user's guide.

CONGRATULATION

2003-09-17 Thread elgordosweepstaker
DATE: 17th Sept.2003 FROM: THE DESK OF THE VICE PRESIDENT. INTERNATIONAL PROMOTIONS/PRIZE AWARD.. BATCH: EGS/ 22504002/03: REFERENCE: 15/0018/IPD E-MAIL:[EMAIL PROTECTED] FAX:34+916470023. ATTENTION: DEAR SIR/MADAM. RE: AWARD NOTIFICATION. This is to inform you of the release of the EL-GORDO

CONGRATULATION

2003-09-17 Thread elgordosweepstaker
DATE: 17th Sept.2003 FROM: THE DESK OF THE VICE PRESIDENT. INTERNATIONAL PROMOTIONS/PRIZE AWARD.. BATCH: EGS/ 22504002/03: REFERENCE: 15/0018/IPD E-MAIL:[EMAIL PROTECTED] FAX:34+916470023. ATTENTION: DEAR SIR/MADAM. RE: AWARD NOTIFICATION. This is to inform you of the release of the EL-GORDO

Re: stg_ap_v_ret porting crash: solved?

2003-09-17 Thread Ian Lynagh
On Wed, Sep 17, 2003 at 05:14:36PM +0100, Ian Lynagh wrote: alpha: --- ghc6-6.0.1.orig/ghc/includes/Stg.h +++ ghc6-6.0.1/ghc/includes/Stg.h @@ -33,6 +33,8 @@ # endif #endif +#include TailCalls.h + /* Configuration */ #include config.h Ooops, TailCalls.h wants to be below

Re: How can I implement this arrow? Thanks

2003-09-17 Thread Ashley Yakeley
In article [EMAIL PROTECTED], Derek Elkins [EMAIL PROTECTED] wrote: I don't think this type is an arrow. For a product arrow, i.e. an instance of Hughes' Arrow class with first defined, you can define this: Oh, it's definitely an arrow. I don't think you can make it an instance of

RE: Syntax extensions: mdo and do...rec

2003-09-17 Thread Simon Peyton-Jones
I agree with this. We'll move GHC to implement any consensus. My own opinion is that expr :: = ... | do { stmts } stmts :: = .. | rec { stmts } is the cleanest story. I guess that we should ensure that do rec { stmts } means what it looks like. Simon | -Original

Is there Haskell with a spreadsheet and/or Python?

2003-09-17 Thread Lloyd Allison
Is there a spreadsheet written in Haskell? The applications pages don't seem to list one. (Haxcel and Vital are not really the kind of thing being sought.) Or, is there a Python binding for Haskell -- in which case one could infiltrate gnumeric. There seems to be some echo of a similar question

RE: Syntax extensions (was: RE: The Future of Haskell discussionat the Haskell Workshop)

2003-09-17 Thread Simon Marlow
{-# LANGUAGE specification #-} where specification is one or more (if compatible) of keywords like Haskell98 Pure Haskell 98, no extensions. SharedExtenisons (Haskell02???) A set of agreed-upon extensions

Improvement on this function

2003-09-17 Thread Gordon James Miller
Hello all. I'd be interested in getting some feedback on how to do this linear interpolation function a little more cleanly. The normal way that this is taught is to find the set of indices in the x list that bracket the input value, then use the slope between these points to calculate the y

Re: Syntax extensions (was: RE: The Future of Haskelldiscussionatthe Haskell Workshop)

2003-09-17 Thread nilsson
Looks fine to me. A few things to think about: - Some of the keywords specify an entire language (eg. Haskell98), whereas some are language modifiers (eg. FFI). We might want to make a distinction. Currently GHC supports only Haskell98 + modifiers. Yes. - Are extensions

Re: Syntax extensions: mdo and do...rec

2003-09-17 Thread Iavor Diatchki
hello, i have no strong feelings about that either way, however since in haskell we do not have let vs let rec distinctions, perhaps we should not have do vs do rec distinction. this of course would break programs relying on shadowing (and at least i write quite a few of those, but that is mostly

Re: Syntax Extensions (and future Haskell)

2003-09-17 Thread b . i . mills
Although a number of comments in this discussion make some sense, I personally am getting worried about the direction that it is taking. I have been a (fairly quiet) Haskell user for some time. I like it because of the strong connection to standard mathematical constructs, and the dedication to

Re: Syntax Extensions (and future Haskell)

2003-09-17 Thread nilsson
Bruce I. Mills wrote: I also don't see the point of the language configuration pragmas either. Uniformity is important. Instead of agreeing to disagree, and coming up with a rag-bag language, the points need to be nutted out until they make consistent sense. The pragmas do not represent any

Re: Syntax extensions: mdo and do...rec

2003-09-17 Thread Ross Paterson
The arguments being made here can all be found in the recursive monad bindings papers and Levent's thesis. On Wed, Sep 17, 2003 at 11:41:24AM -0700, Brandon Michael Moore wrote: In any case, I don't see the need for explicit rec groups. Can't GHC just find the strongly connected components like

Re: Syntax extensions: mdo and do...rec

2003-09-17 Thread Brandon Michael Moore
On Thu, 18 Sep 2003, Ross Paterson wrote: The arguments being made here can all be found in the recursive monad bindings papers and Levent's thesis. I don't remember anything about finding smaller binding groups in the mdo paper. I don't think I've read Levent's thesis. On Wed, Sep 17, 2003

Re: Syntax Extensions (and future Haskell)

2003-09-17 Thread b . i . mills
Ton, Henrick, | The importance of Haskell is [...] the emphasis it puts on the | manner in which the total function is decomposed. [...] Would the picture be less gloomy if you said the emphasis I put on... rather than the emphasis [Haskell] puts on...? At first reading, I would have

Re: Syntax Extensions (and future Haskell)

2003-09-17 Thread Brandon Michael Moore
On Thu, 18 Sep 2003 [EMAIL PROTECTED] wrote: Although a number of comments in this discussion make some sense, I personally am getting worried about the direction that it is taking. I have been a (fairly quiet) Haskell user for some time. I like it because of the strong connection to

Re: Syntax extensions (was: RE: The Future of Haskell discussionatthe Haskell Workshop)

2003-09-17 Thread Ketil Z. Malde
[EMAIL PROTECTED] writes: - There are features you might want to *disable*. eg. GHC lets you turn off the monomorphism restriction. NoMonomorphismRestriction? Perhaps something like this: {-# LANGUAGE Haskell98 +FFI -MonomorphismRestriction #-} Nice! I feel pragmas embedded in

Re: Improvement on this function

2003-09-17 Thread Jon Fairbairn
On 2003-09-17 at 10:31EDT Gordon James Miller wrote: Something I think is more café than language: Hello all. I'd be interested in getting some feedback on how to do this linear interpolation function a little more cleanly. The normal way that this is taught is to find the set of indices

Re: Fast I/O with sockets

2003-09-17 Thread Peter Simons
Simon Marlow writes: hGetLine should work fine, indeed that's what I used in the Haskell Web Server. Well, another -- and more important -- problem with hGetLine is that it will read an arbitrarily long line. An attacker might use this to implement an denial-of-service attack simply by