[Haskell-beginners] Ambiguous type variables
ky3 at atamo.com
Mon Mar 17 20:28:59 UTC 2014
On Tue, Mar 18, 2014 at 2:14 AM, Dennis Raddle <dennis.raddle at gmail.com>wrote:
> class Bt d c memo | d -> c, d -> memo where
Could you also say something about the instances you intend to implement
for this typeclass?
If there's only 1, which the statement of the problem suggests as much, you
can dispense of the typeclass entirely and just work with plain functions!
Could be that you want something working first and generalize /
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Beginners