Skip to content
  • Ben Gamari's avatar
    Treat banged bindings as FunBinds · 37299536
    Ben Gamari authored and Ben Gamari's avatar Ben Gamari committed
    This reworks the HsSyn representation to make banged variable patterns
    (e.g. !x = e) be represented as FunBinds instead of PatBinds, adding a flag to
    FunRhs to record the bang.
    
    Fixes #13594.
    
    Reviewers: austin, goldfire, alanz, simonpj
    
    Reviewed By: simonpj
    
    Subscribers: simonpj, rwbarton, thomie, mpickering
    
    Differential Revision: https://phabricator.haskell.org/D3525
    37299536