• simonpj@microsoft.com's avatar
    Fix Trac #3966: warn about useless UNPACK pragmas · 215ce9f1
    simonpj@microsoft.com authored
    Warning about useless UNPACK pragmas wasn't as easy as I thought.
    I did quite a bit of refactoring, which improved the code by refining
    the types somewhat.  In particular notice that in DataCon, we have
        dcStrictMarks   :: [HsBang]
        dcRepStrictness :: [StrictnessMarks]
    The former relates to the *source-code* annotation, the latter to
    GHC's representation choice.
Parser.y.pp 73.7 KB