I am finding functional dependencies confusing. (I suspect I am not alone.) Should the following code work? class HasConverter a b | a -> b where convert :: a -> b instance (HasConverter a b,Show b) => Show a where show value = show (convert value) _______________________________________________ Haskell mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell
- Yet more on functional dependencies George Russell
- Yet more on functional dependencies Tom Pledger
- RE: Yet more on functional dependencies Mark P Jones
- Re: Yet more on functional dependencies Jeffrey R. Lewis
- RE: Yet more on functional dependencies Simon Peyton-Jones