Skip to content

Wildcards in type functions

I would like to be able to use wildcards in type synonym family instances, so that I can write:

type instance ErrorAlg (f :>: _) e a = ErrorAlg f e a
Trac metadata
Trac field Value
Version 6.10.4
Type FeatureRequest
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
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