[Fwd: Oops [Fwd: Re: Allowing duplicate instances in GHC 6.4]]
Robert van Herk
rherk at cs.uu.nl
Thu Mar 31 10:11:19 EST 2005
Sorry, oops again:
The problem is that it complains that it cannot find an instance for
Datasource' z [MyKeyVal] [MyKeyVal] Float Int
Whilst I have an instance
Datasource [MyKeyVal] Float Int
Thus, it seems that it needs an explicit type for the z here.
Both datasources stored in the joined datasource are of type [MyKeyVal],
so I would expect this to compile correctly, and then take the left
datasource.
Sorry that my explanation is all so confusing....
Robert
-------------- next part --------------
An embedded message was scrubbed...
From: Robert van Herk <rherk at cs.uu.nl>
Subject: Oops [Fwd: Re: Allowing duplicate instances in GHC 6.4]
Date: Thu, 31 Mar 2005 17:05:47 +0200
Size: 10998
Url: http://www.haskell.org//pipermail/glasgow-haskell-users/attachments/20050331/359b325c/AllowingduplicateinstancesinGHC6.eml
More information about the Glasgow-haskell-users
mailing list