diff options
author | Alec Theriault <alec.theriault@gmail.com> | 2019-01-08 10:28:10 -0800 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2019-01-16 14:17:11 -0500 |
commit | 582a96f422a8437f87da2539afc7d7e6772054df (patch) | |
tree | 97cde22e39fe965f2c3a8e6ab5d910b54933a657 /ghc.mk | |
parent | 9fb2702dec3e9419e1a229f8cd678324e89fdddf (diff) | |
download | haskell-582a96f422a8437f87da2539afc7d7e6772054df.tar.gz |
Support printing `integer-simple` Integers in GHCi
This means that `:p` no longer leaks the implementation details of
`Integer` with `integer-simple`. The `print037` test case should
exercise all possible code paths for GHCi's code around printing
`Integer`s (both in `integer-simple` and `integer-gmp`).
`ghc` the package now also has a Cabal `integer-simple` flag (like the
`integer-gmp` one).
Diffstat (limited to 'ghc.mk')
-rw-r--r-- | ghc.mk | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -616,6 +616,7 @@ libraries/base_dist-install_CONFIGURE_OPTS += --flags=integer-gmp compiler_stage2_CONFIGURE_OPTS += --flags=integer-gmp else ifeq "$(INTEGER_LIBRARY)" "integer-simple" libraries/base_dist-install_CONFIGURE_OPTS += --flags=integer-simple +compiler_stage2_CONFIGURE_OPTS += --flags=integer-simple else $(error Unknown integer library: $(INTEGER_LIBRARY)) endif |