> > 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 pote
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 tha
> 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
> 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 c
> 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 i
> 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 yi
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
> http://www.ha
Hi,
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 up-to-d
Indeed, this is a bug. Well, two bugs actually. I've just fixed them.
Thanks for the report.
(You probably want to send TH-related mail to
[EMAIL PROTECTED], and other GHC bugs to
[EMAIL PROTECTED])
Simon
| -Original Message-
| From: [EMAIL PROTECTED]
[mailto:glasgow-haskell-users-
| [