Skip to content
  • Simon Peyton Jones's avatar
    Warn a bit less often about unlifted bindings. · 67157c5c
    Simon Peyton Jones authored
    Warn when
       (a) a pattern bindings binds unlifted values
       (b) it has no top-level bang
       (c) the RHS has a *lifted* type
    
    Clause (c) is new, argued for by Simon M
    
    Eg     x# = 4# + 4#      -- No warning
           (# a,b #) = blah  -- No warning
           I# x = blah       -- Warning
    67157c5c