Re: [Haskell-cafe] Type families versus functional dependenciesquestion

2008-07-04 Thread Alexey Rodriguez
On Thu, Jul 3, 2008 at 10:14 PM, Claus Reinke [EMAIL PROTECTED] wrote: actually, GHC gives me could not deduce Blah f a from Blah f1 a first. It seems that desugaring type function notation into an additional constraint helps, so there's something odd going on: Silly me, I didn't paste the

Re: [Haskell-cafe] Type families versus functional dependenciesquestion

2008-07-03 Thread Claus Reinke
actually, GHC gives me could not deduce Blah f a from Blah f1 a first. It seems that desugaring type function notation into an additional constraint helps, so there's something odd going on: Silly me, I didn't paste the whole type error. Yes, GHC gives both. I should add that I tested this