+ 1 } -- Warning here
f d = d
-- Use case pattern matching
g :: D -> D
g d1 = case d1 of
D1 { f1 = n } -> d1 { f1 = n + 1 } -- Warning here also
D2-> d1
Cheers
Peter White
503 466 0687 (Home)
503 380 8024 (Cell)
___
there in Haskell land seeing a "fail: <>" might check into derived
instances of Ord, Show, ...
-Original Message-
From: Simon Peyton-Jones [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 27, 2002 4:04 AM
To: Peter White; [EMAIL PROTECTED]
Subject: RE: fail: <>
Pete
Attached is a program that produces fail: <> when I execute it. I am
using the derived instance of Show for the type LinuxObjectId. When I
replace this with my own Show instance (currently commented out in the
source code), then the program executes to completion. I am using Ghc
version 5.03.20020
}
-Original Message-
From: Simon Marlow [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 15, 2002 2:55 AM
To: Peter White; [EMAIL PROTECTED]
Subject: RE: PAP_Entry: CATCH_FRAME
> What does it mean when you get the fatal error "PAP_Entry:
> CATCH_FRAME". I
> am usin
What does it mean when you get the fatal error "PAP_Entry: CATCH_FRAME". I
am using ghc version 5.03.20020204. I looked in the ghc source code and the
comment next to this error message says that it cannot happen.
Cheers
Peter White
_