Remove from `base` obsolete CPP for `integer-gmp`

Authored by harpocrates on Jan 8 2019, 12:41 PM.

Description

Remove from base obsolete CPP for integer-gmp

  • GHC.Natural now exports the same functions (regardless of integer backend)
  • remove unnecessary CPP around instances
  • remove the 'OPTIMISE_INTEGER_GCD_LCM' flag - almost all of those optimizations now work regardless of which integer backend is used

Note that some CPP still remains for situations where there are backend-specific
optimization hacks (like a more efficient GMP-only gcd for Int# and Word#).

Details

Committed
bgamariJan 16 2019, 1:17 PM
Parents
rGHC6e320c279ddf: Match `integer-simple`'s API with `integer-gmp`
Branches
Unknown
Tags
Unknown