IaFP / ghc

A slightly more Glorious Haskell Compiler
Other
2 stars 0 forks source link

PTFs : Recursive instances #22

Closed ahubers closed 2 years ago

ahubers commented 2 years ago

Right now a recursive instance like

type instance F [a] = F a

will elaborate to

type instance WF_F [a] = F @ a

when it needs to elaborate to

type instance WF_F [a] = WF_F a
ahubers commented 2 years ago

Resolved by previous work