• Simon Peyton Jones's avatar
    Support unboxing for GADT product types · f2d1b7fc
    Simon Peyton Jones authored
    Beofre this commit we never unboxed GADT, even if they
    are perfectly civilised products.
    
    This patch liberalises unboxing slightly.
    See Note [Product types] in TyCon.
    
    Still to come
     - for strictness, we could maybe deal with existentials too
     - todo: unboxing constructor arguments
    f2d1b7fc
MkId.hs 53.1 KB