• Simon Peyton Jones's avatar
    Minor refactor of CUSK handling · 9bb23d5f
    Simon Peyton Jones authored
    Previously, in getFamDeclInitialKind, we were figuring
    out whether the enclosing class decl had a CUSK very
    indirectly, via tcTyConIsPoly.  This patch just makes
    the computation much more direct and easy to grok.
    
    No change in behaviour.
    9bb23d5f
Code owners : Ben Gamari
HsDecls.hs 93.2 KB