Skip to content
  • Simon Peyton Jones's avatar
    Refactor floating of bindings (fiBind) · e4188b53
    Simon Peyton Jones authored and David Feuer's avatar David Feuer committed
    This is just a local refactoring.
    
    I originally planned to try floating top-level bindings inwards,
    but I backed off from that leaving only this (harmless) refactoring,
    which has no behavioural effect.
    
    I also make FloatIn into a ModGuts -> ModGuts function; again not
    necessary now, but no harm either.
    
    My attempt also used the new function CoreFVs.freeVarsBind; but
    that too is a plausible refactorig of freeVars, so I left it in too.
    
    Reviewers: austin, bgamari
    
    Subscribers: thomie
    
    Differential Revision: https://phabricator.haskell.org/D3180
    e4188b53