Hi,
---
data Item = Item1 Item
| Item2 {a :: Int}
deriving (Show, Read)
value = Item1 (Item2 1)
valueHugs = Item1 Item2 {a = 1}
valueGhc = Item1 (Item2 {a = 1})
readItem x = (read x) :: Item
--
With the following code show value under Hugs and Ghc give different
#758: Error compiling darcs on Mac OS X
---+
Reporter: [EMAIL PROTECTED] |Owner:
Type: bug | Status: new
Priority: normal |
I'm trying to build head (latest try with ghc-6.5.20060429) for my macbook pro (Mac OS X intel) using hc files built on a x86 linux (Ubuntu Breezy Badger). I have the following issues:1) Issues with bookstrap.mkbootstrap.mk in head contains the following lines TOP_SAVED := $(TOP) TOP:=$(TOP)/ghc
Haskell Weekly News: May 1, 2006
Welcome to issue 34 of HWN, a weekly newsletter covering developments
in the Haskell community. Each Monday, new editions are posted to
[1]the Haskell mailing list as well as to [2]the Haskell Sequence and
[3]Planet Haskell. [4]RSS
I have observed the error message (ghci 6.4)
Functional dependencies conflict between instance declarations:
LocTest.hs:16:0: instance B S Bool
LocTest.hs:22:0: instance (F f, B a b) = B (f a) (f b)
when I changed in an instance from a simple type to a type with a parameter
(i.e.
On Sat, Apr 29, 2006 at 04:51:40PM -0400, Cale Gibbard wrote:
Floating point computations are always approximate and have some level
of error associated with them. If you want proper real numbers, things
like equality testing become impossible in general. If you look
around, I think there are
Frank wrote:
I have observed the error message (ghci 6.4)
Functional dependencies conflict between instance declarations:
LocTest.hs:16:0: instance B S Bool
LocTest.hs:22:0: instance (F f, B a b) = B (f a) (f b)
when I changed in an instance from a simple type to a type with a