• Jan Stolarek's avatar
    mkGadtDecl no longer in P monad · afbd30b6
    Jan Stolarek authored
    Since `mkGadtDecl` does not use any of the functions specific to the `P`
    monad we can extract it from that monad and reuse in other parts of the
    compiler.
    
    Test Plan: ./validate
    
    Reviewers: austin, bgamari
    
    Reviewed By: bgamari
    
    Subscribers: thomie, mpickering
    
    Differential Revision: https://phabricator.haskell.org/D1461
    afbd30b6
Parser.y 163 KB