Program error: {_indirect instIntegral_v34}
Hi, There seems to be a problem with n+k patterns... Thomas H ------------------------------------------------------------------------------- skalman2% hugs __ __ __ __ ____ ___ _________________________________________ || || || || || || ||__ Hugs 98: Based on the Haskell 98 standard ||___|| ||__|| ||__|| __|| Copyright (c) 1994-2002 ||---|| ___|| World Wide Web: http://haskell.org/hugs || || Report bugs to: hugs-bugs@haskell.org || || Version: November 2002 _________________________________________ Haskell 98 mode: Restart with command line option -98 to enable extensions Reading file "/usr/lib/hugs/lib/Prelude.hs": Hugs session for: /usr/lib/hugs/lib/Prelude.hs Type :? for help Prelude> let (x+1)=2 in x Program error: {_indirect instIntegral_v34} Prelude>
Hi Thomas,
"Thomas Hallgren"
...
There seems to be a problem with n+k patterns...
Given the emotions that (n+k) patterns seems to whip up among Haskellers, I'm surprised no one quipped "only one?" in response to this :) ...
Prelude> let (x+1)=2 in x
Program error: {_indirect instIntegral_v34} Prelude>
Thanks for the bug report - the CVS version of Hugs has now got a fix for this. --sigbjorn
participants (2)
-
Sigbjorn Finne -
Thomas Hallgren