Skip to content
  • Simon Peyton Jones's avatar
    In GHC.Real, specialise 'even' and 'odd' to Int and Integer · db5868cf
    Simon Peyton Jones authored
    This was previously happening by a fluke -- they were called with those types
    in GHC.Real itself -- but my recent changes to specialisation mean that auto
    specialisations like these are not necessarily exported.
    
    Losing those specialisations made a huge difference to two performance tests
       perf/should_run/MethSharing
       perf/should_run/T9339
    db5868cf