ghc: panic! (the `impossible' happened, GHC version 5.02.2):

2002-02-13 Thread Stef Joosten
My ghc compiler produced a message, that suggests you want to know that it has occured. Here is a verbatim of what happened: VERBATIM c:\Atlasghc -package text -H16m RoseItems.lhs ghc: panic! (the `impossible' happened, GHC version 5.02.2): stack overflow Please report it as a

problem with source 5.03

2002-02-13 Thread Hal Daume III
There seems to be a problem with the source tar.bz2 distribution of the 5.03 snapshot. The web page claims it's 5.3M, but the actualy file is only 4117517 bytes and doesn't untar properly: x ghc-5.03.20020204/ghc/InstallShield/Setup Files/Compressed Files, 0 bytes, 0 tape blocks x

i386-pc-os2-emx port

2002-02-13 Thread Russell O'Connor
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm interested in doing a port of GHC to OS/2. Any particular documentation I should be reading before I even think about embarking on such a crazy endevour? - -- Russell O'Connor[EMAIL PROTECTED]

Weird symbol prevents GHCi from loading my package.

2002-02-13 Thread Axel Simon
Hi, I built quite a big library and turned it into a package. It works fine if use ghc -package gtk2 Blah.hs to compile things. But when I convert all the libraries to object files as described in the documentation, GHCi refuses to load the whole machinery: ~/source/mogul/fpDemo:$ ghci -package

RE: CVS Build problem

2002-02-13 Thread Nicholas Nethercote
On Wed, 13 Feb 2002, Simon Marlow wrote: ../../ghc/utils/ghc-pkg/ghc-pkg-inplace --update-package lang.conf.inplace Reading package info from stdin... done. Expanding embedded variables...done. dependency `base' doesn't exist make[2]: *** [boot] Error 1 make[1]: *** [boot] Error 1

RE: CVS Build problem

2002-02-13 Thread Nicholas Nethercote
On Wed, 13 Feb 2002, Nicholas Nethercote wrote: That's what I did. It made ghc ok, but then when it tries the 'make boot' in hslibs it falls over. The same happens if I change into $(BUILD)/hslibs and do 'make boot'... Ok, I've worked out the problem: I just checked out the modules ghc

A question about GHC-5.03

2002-02-13 Thread Sean Seefried
One of the new features of the latest snapshot of GHC is that : "The type system now supports arbitrary rank polymorphism, given appropriate type annotations." Could you point me to some literature on this feature and how it is used? I'm familiar with rank-2 polymorphic types. I am not

The size of things

2002-02-13 Thread Ketil Z. Malde
Hi I'm building some stuff here that is basically a glorified and specialized version of quicksort. It is very quick, and works like a charm for my purposes, except that it consumes way too much space, about 100 bytes times the size of the input list. Which means that, for my data sets, the

Re: Sendind mail

2002-02-13 Thread Jorge Adriano
Hi, I'd like to know if there's any Hugs compatible library with functionalities to send mail. I don't think so. If all you want to do is send mail from within an haskell program why not just make system calls. I did something like that a long time ago. I've sent you the

Haskell 98 lexical syntax again

2002-02-13 Thread Simon Peyton-Jones
To meet Ian's observation below, I propose to replace the lexical production newline - a newline (system dependent) by newline - return linefeed | return | linefeed which, given maximal munch, will behave decently on any normal system. Any objections? Simon |

ANNOUNCE: Haskell support for JCreator update

2002-02-13 Thread Rijk J . C . van Haaften
Dear reader, I'm pleased to announce the availability of a release of the Haskell module for JCreator. You can get it, as usual, at http://www.students.cs.uu.nl/people/rjchaaft/JCreator The previous update lacks the documentation tool, and is quite restrictive concerning the location of Hugs,

Re: syntax...(strings/interpolation/here docs)

2002-02-13 Thread Joe
Does anybody with their elbows in the code think variable interpolation and/or multi-line strings are good/doable ideas? Would this be the sort of change one could make without a lot of previous familiarity with the implementation of Hugs/Ghc? It would be a *signifigant* boon to those of us

RE: Eager IO function

2002-02-13 Thread Simon Marlow
How should I modify the function below so that characters are printed out as they arrive? printchar :: Handle - IO () printchar handle = do c - hGetChar handle putChar c Try using hSetBuffering handle NoBuffering hSetBuffering stdout

Re: Re: syntax...(strings/interpolation/here docs)

2002-02-13 Thread David Feuer
From: Joe [EMAIL PROTECTED] Does anybody with their elbows in the code think variable interpolation and/or multi-line strings are good/doable ideas? Can't say I have my elbows in the code, but I think that multi-line strings could be useful. I'm not sure what I think about variable

RE: syntax...(strings/interpolation/here docs)

2002-02-13 Thread Simon Marlow
Does anybody with their elbows in the code think variable interpolation and/or multi-line strings are good/doable ideas? Would this be the sort of change one could make without a lot of previous familiarity with the implementation of Hugs/Ghc? It would be a *signifigant* boon to those of

Re: Re: syntax...(strings/interpolation/here docs)

2002-02-13 Thread D. Tweed
On Wed, 13 Feb 2002, David Feuer wrote: It would be a *signifigant* boon to those of us trying to get haskell into organizations by using it as maintainable perl/sh, and Haskell is not a maintainable perl/sh. It is not a good language for simple shell scripts, and is not good for

Re: syntax across languages

2002-02-13 Thread Jay Cox
On 12 Feb 2002, Pixel wrote: eurk ERROR /usr/share/hugs/lib/exts/ST.hs:48 - Syntax error in type expression (unexpected `.') isn't there a way ST.hs would require the extensions? a pragma or something? someone not knowing the -98 would wonder for a long time about what to do :-( That

Re: syntax...(strings/interpolation/here docs)

2002-02-13 Thread Jeffrey R Lewis
On Wednesday 13 February 2002 06:36 am, C.Reinke wrote: Does anybody with their elbows in the code think variable interpolation and/or multi-line strings are good/doable ideas? Would this be the sort of change one could make without a lot of previous familiarity with the

Re: syntax...(strings/interpolation/here docs)

2002-02-13 Thread Hal Daume III
hugs and ghc. With hugs, I use the builtin feature, of course. With GHC, we just use a pre-processor. This is a bit awkward with GHC 5.02 and earlier versions, but starting with 5.03, GHC now has a proper interface for hooking in a pre-processor (don't know the details, bug Sigbjorn