Closed goldfirere closed 8 years ago
Is this really a bug? The error is pretty meaningful:
Main.hs:6:8: error:
• These kind and type variables: a l k
are out of dependency order. Perhaps try this ordering:
l (a :: l) k
• In the type signature:
foo :: forall a l k. l ~ Maybe k => Proxy (a :: l) -> Bool
Yes, that's right. The error you're seeing did not exist on Sep 15, though. It must have been some sort of panic. But the behavior today is good. Thanks for confirming this!
When I say
I get an error.
But when I say
it works. The only difference is order of arguments.