RE: DEPRECATED not re-exported

2004-01-05 Thread Simon Peyton-Jones
OK.. I've done something which is easy to implement, namely to make it so that the export list does not count for reporting deprecations. Simon | -Original Message- | From: Sven Panne [mailto:[EMAIL PROTECTED] | Sent: 02 January 2004 21:04 | To: Simon Peyton-Jones | Cc: GHC Bugs |

panic! (the `impossible' happened, GHC version 6.2)

2004-01-05 Thread Alex Peake
Prelude :set -package wx Loading package haskell98 ... linking ... done. Loading package lang ... linking ... done. Loading package concurrent ... linking ... done. Loading package QuickCheck ... linking ... done. Loading package util ... linking ... done. Loading package data ... linking ...

RE: internal error reported

2004-01-05 Thread Simon Marlow
I get the following error message: darcs: internal error: EVACUATED object entered! Please report this as a bug to [EMAIL PROTECTED], or http://www.sourceforge.net/projects/ghc/ I'm not sure what is causing this. This is using ghc 6.2, the debian version that just moved into

Re: -xc giving very little information

2004-01-05 Thread Malcolm Wallace
Stefan Reich [EMAIL PROTECTED] writes: A complex program of mine fails with this message: Fail: Maybe.fromJust: Nothing I tried to extract more information about the error by compiling with -prof -auto-all and running the program with +RTS -xc, as advised on

RE: -xc giving very little information

2004-01-05 Thread Simon Marlow
A complex program of mine fails with this message: Fail: Maybe.fromJust: Nothing I tried to extract more information about the error by compiling with -prof -auto-all and running the program with +RTS -xc, as advised on http://www.haskell.org/hawiki/TipsAndTricks . This yielded

RE: -keep-hc-files with --make?

2004-01-05 Thread Simon Marlow
It seems that with GHC 6.2, -keep-hc-files and --make conflict: GHC deletes the HC files it makes. I found an old bug report about this, with a note from one of the developers claiming to have fixed this, but at least here the bug is reproduceable (a regression, perhaps?). This is on

RE: GHC 6.2 breaks multiline string literals

2004-01-05 Thread Simon Marlow
This worked in GHC 6.0.1: multilineLiteral = line1 line2 But doesn't work in GHC 6.2. Is this a bug or rather a bugfix? Anyway, I found it very convenient to embed verbatim string blocks this way. Is there maybe another way to achieve the same thing? Just to clarify, this

RE: Running a final finaliser

2004-01-05 Thread Simon Marlow
The other complication I can see is that ForeignPtr finalisers can't be Haskell. So I have to call the Haskell finalisation from C. Is that safe? I'm afraid I still don't fully understand why Haskell finalisers are unsafe or why (if) calling Haskell from a C finaliser (which then called C

Re: -xc giving very little information

2004-01-05 Thread Ian Lynagh
On Mon, Jan 05, 2004 at 11:35:37AM +, Malcolm Wallace wrote: Unfortunately, Hat is currently limited to ghc version 5.04.3 (i.e. not yet updated to cope with the 6.x series), The Debian package works with ghc6.2 (at least the Insort example works for me - I haven't done more with it than

Re: Running a final finaliser

2004-01-05 Thread Alastair Reid
I'm afraid I still don't fully understand why Haskell finalisers are unsafe or why (if) calling Haskell from a C finaliser (which then called C land again) would be any safer. The FFI standard doesn't say that calling C finalizers is unsafe (which would imply that the finalizers

Large programs in Hugs-2003 on Windows

2004-01-05 Thread Graham Klyne
I've just run into a problem with Hugs-2003 on Windows, where I get the following message: [[ ERROR D:\Cvs\DEV\HaskellRDF\N3FormatterTest.hs - Program code storage space exhausted ]] (This is attempting to load a consolidated test harness, so there genuinely is a lot of Haskell code here, for

RE: safe array freezing?

2004-01-05 Thread Simon Marlow
so, A common idiom when using Control.Monad.ST is to do some complicated, state using computation to compute a big array which is then used purely functionally as a read-only array in the rest of the program. to avoid the cost of copying the array at the end, we are forced to use

RE: Haddock and man pages

2004-01-05 Thread Simon Marlow
I think there is some software to translate some DocBook derivate to man pages. Maybe one could use the DocBook export mechanism of Haddock for man page production. Just and idea. Haddock's DocBook output support needs a lot of work - I originally started on the DocBook output before

Re: Haddock and man pages

2004-01-05 Thread Matthew Walton
Simon Marlow wrote: I think there is some software to translate some DocBook derivate to man pages. Maybe one could use the DocBook export mechanism of Haddock for man page production. Just and idea. Haddock's DocBook output support needs a lot of work - I originally started on the

Hugs-on-Windows: rebuild for larger programs

2004-01-05 Thread Graham Klyne
Following my earlier message, I've posted a rebuild of Hugs.exe for MS-Windows, with quadrupled code storage allocation, at: http://www.ninebynine.org/Software/FatHugs.html #g Graham Klyne For email: http://www.ninebynine.org/#Contact

Re: Limiting resources on a per-function basis?

2004-01-05 Thread Ketil Malde
Jeff Newbern [EMAIL PROTECTED] writes: Thanks for your input. I am mainly interested in this functionality to enhance my unit tests. I want to be able to run test cases with limits on time, heap, stack, etc. and fail the test if it exceeds the limits. Well, if you can isolate the tests well

Re: Perspectives on learning and using Haskell

2004-01-05 Thread Shae Matijs Erisson
[EMAIL PROTECTED] writes: There is only one problem I've found with test-driven development in Haskell. In C++, it's possible to break the module abstraction (yes, I know, C++ doesn't have modules; it has classes, which are really instantiable modules) by using friend. In Haskell, I find

pet project - 7 Millennium Prize problemss

2004-01-05 Thread Christopher Milton
Folks, I think Haskell can be used to solve several, if not all, of the seven problems. Now I have to decide which problem to tackle first. Chris = Christopher Milton [EMAIL PROTECTED] ___ Haskell-Cafe mailing list [EMAIL PROTECTED]

Re: Perspectives on learning and using Haskell

2004-01-05 Thread Sven Panne
Duncan Coutts wrote: On Sun, 2004-01-04 at 10:20, Graham Klyne wrote: [...] I would expect that when using GHC to compile a stand-alone Haskell program, any expressions that are not referenced are not included in the final object program, so leaving these test cases uncommented would be

Re: pet project - 7 Millennium Prize problemss

2004-01-05 Thread Ketil Malde
Christopher Milton [EMAIL PROTECTED] writes: I think Haskell can be used to solve several, if not all, of the seven problems. What's this? Is there an URL with more information? -kzm -- If I haven't seen further, it is by standing in the footprints of giants

Re: pet project - 7 Millennium Prize problemss

2004-01-05 Thread Christopher Milton
--- Ketil Malde [EMAIL PROTECTED] wrote: Christopher Milton [EMAIL PROTECTED] writes: I think Haskell can be used to solve several, if not all, of the seven problems. What's this? Is there an URL with more information? Sorry, I meant to include the URL, but I got distracted.

HSQL Linking Problem with ghc6

2004-01-05 Thread Charles Perkins
Hello Haskellians, I have been looking for a way to get ghc-compiled haskell programs to talk to a PostgreSQL database, and HSQL seems to be exactly what I need... And what's more, it appears to have downloaded and installed with minimal hassle... Alas (and I am sure this is a problem with my

Re: HSQL Linking Problem with ghc6

2004-01-05 Thread Christopher Milton
Nevermind, I found it. http://htoolkit.sourceforge.net/ --- Christopher Milton [EMAIL PROTECTED] wrote: I keep only finding a Java SQL interface on SourceForge when I look for HSQL. What is the URL? --- Charles Perkins [EMAIL PROTECTED] wrote: Hello Haskellians, I have been looking for