Skip to content
  • Simon Peyton Jones's avatar
    Yet more work on TcSimplify.simplifyInfer · 0ae72512
    Simon Peyton Jones authored
    The proximate cause for this patch is Trac #13482, which pointed out
    further subtle interactions between
       - Inferring the most general type of a function
       - A partial type signature for that function
    
    That led me into /further/ changes to the shiny new stuff in
    TcSimplify.simplifyInfer, decideQuantification, decideMonoTyVars,
    and related functions.
    
    Happily, I was able to make some of it quite a bit simpler,
    notably the bit about promoting free tyvars.  I'm happy with
    the result.
    
    Moreover I fixed Trac #13524 at the same time.  Happy days.
    0ae72512