Warnings on record updates

2004-12-10 Thread Peter White
+ 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) ___

RE: fail: <>

2002-03-27 Thread Peter White
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

fail: <>

2002-03-25 Thread Peter White
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

RE: PAP_Entry: CATCH_FRAME

2002-02-15 Thread Peter White
} -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

PAP_Entry: CATCH_FRAME

2002-02-14 Thread Peter White
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 _