Re: [Haskell] Deferred instance declarations (serialization of existential boxes)

2006-09-27 Thread Misha Aizatulin
Simon Peyton-Jones wrote: > Concerning your application > > | I am having a box like > | > data Box = forall a. Cxt a => Box a > | and want to write a Read instances for it. > > I don’t see how it helps to defer the Read instance. I would defer the instance declaration till the point where I

Re: UTF-8 decoding error

2006-09-27 Thread Jan-Willem Maessen
On Sep 27, 2006, at 6:05 AM, Matthew Pocock wrote: Fortress (sun's possibly-not-vaporware hpc language) supports arbitrary unicode chars in code, and has an escape syntax for commonly used things. I have spent the past week writing Fortress code (which runs in parallel, even). But I'm p

Re: Year 2038 problem in GHC 6.4.2 runtime

2006-09-27 Thread Cyril Schmidt
Hello Bulat, http://semantic.org/TimeLib/ moreover, it will be bundled with ghc 6.6 That's much better news, thanks! Your previous posting sounded overly pessimistic (it even made it to the Quotes of the Week section of HWN) Cheers, Cyril ___ Gl

more fixups for GHC docs: ddump flags

2006-09-27 Thread Rene de Visser
The flags under section 4.17.26. Compiler debugging options seem to be out of date. They seem to be wrong for both 6.42 and 6.6 For example --ddump-cmm is not listed, but works. But --ddump-absC is listed, and gives the error unknown flag. I can't get -ddump-stix to work either. Gone, or rena

Re: compiler-independent core libraries infrastructure

2006-09-27 Thread Ian Lynagh
On Fri, Sep 15, 2006 at 05:20:36PM +0100, Ian Lynagh wrote: > > As it happens I was working on getting GHC to use cabal to build base > et al on the plane the other day, and I had a brief look at this. See my comment in http://hackage.haskell.org/trac/ghc/ticket/710 for the results of my long

RE: bug in mallocForeignPtrBytes (both 6.4 and 6.6)

2006-09-27 Thread Simon Peyton-Jones
I added notes about this to http://haskell.org/haskellwiki/Performance/GHC S | -Original Message- | From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] | On Behalf Of Simon Marlow | Sent: 27 September 2006 13:44 | To: Duncan Coutts | Cc: glasgow-haskell-users@haskell.org | Subject:

Re: ANNOUNCE: GHC 6.6 Release Candidate

2006-09-27 Thread Christian Maeder
Simon Marlow schrieb: > Christian Maeder wrote: >> I've downloaded the source bundle ghc-6.5.20060918-src.tar.bz >> >> After ./configure and make, I realized that I have no root permissions >> for installation. So called >> >> ./configure --prefix=/local/home/maeder/ghc-6.5 >> >> followed by "make"

Re: ANNOUNCE: GHC 6.6 Release Candidate

2006-09-27 Thread Simon Marlow
Christian Maeder wrote: Simon Marlow schrieb: Only a week late, we are pleased to announce the Release Candidate phase for GHC 6.6. Snapshots beginning with 6.5.20060831 are release candidates for 6.6 Download snapshots from here: http://www.haskell.org/ghc/dist/current/dist/ I've dow

Re: bug in mallocForeignPtrBytes (both 6.4 and 6.6)

2006-09-27 Thread Simon Marlow
Duncan Coutts wrote: On Sun, 2006-09-24 at 01:28 +0400, Bulat Ziganshin wrote: Hello Duncan, Sunday, September 24, 2006, 12:22:38 AM, you wrote: after program prints "40 mb allocated" look at Task Manager indication - it shows that two times more memory actually in use. it seems that proble

Re: more extra-libs for ghc 6.6

2006-09-27 Thread Simon Marlow
Bulat Ziganshin wrote: how about adding to the list of extra libs the following very useful ones: regex-* FilePath MissingH Edison Let me echo what Ian said: the idea with extralibs was not to bundle useful stuff with GHC, but rather to *separate* from GHC as many of the bundled libraries a

Re[2]: Year 2038 problem in GHC 6.4.2 runtime

2006-09-27 Thread Bulat Ziganshin
Hello Cyril, Tuesday, September 26, 2006, 1:30:23 AM, you wrote: > I am afraid I would need the new Time library a little earlier than 2038, > because I am working on financial software where it is not uncommon to > have contracts > over 30 years long. of course i'm joking. i even don't known is

Re: UTF-8 decoding error

2006-09-27 Thread Matthew Pocock
Fortress (sun's possibly-not-vaporware hpc language) supports arbitrary unicode chars in code, and has an escape syntax for commonly used things. Similarly, proof-general/isabelle supports tex-style escapes for symbols & greek. It seems to me that a pre-processor that turns human-friendly escape