Skip to content

Template Haskell does not quantify over extra vars in class methods

If I say

[d| class Foo a where
      meth :: a -> b -> a |]

I would expect that the type signature for meth would quantify over b. It does not.

Trac metadata
Trac field Value
Version 8.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Template Haskell
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information