summaryrefslogtreecommitdiff
path: root/compiler/GHC/Tc/Module.hs
diff options
context:
space:
mode:
authorSylvain Henry <sylvain@haskus.fr>2021-01-11 17:48:04 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-01-17 05:55:37 -0500
commit6f9a817ffff5eec8575ced9b445a63ae56c1e115 (patch)
tree72c49ce56d3a4a73b10ff17f842bfcf13846783f /compiler/GHC/Tc/Module.hs
parent907f1e4a8bb159c082c30d436f4555110e1055c2 (diff)
downloadhaskell-6f9a817ffff5eec8575ced9b445a63ae56c1e115.tar.gz
Bignum: fix for Integer/Natural Ord instances
* allow `integerCompare` to inline into `integerLe#`, etc. * use `naturalSubThrow` to implement Natural's `(-)` * use `naturalNegate` to implement Natural's `negate` * implement and use `integerToNaturalThrow` to implement Natural's `fromInteger` Thanks to @christiaanb for reporting these
Diffstat (limited to 'compiler/GHC/Tc/Module.hs')
0 files changed, 0 insertions, 0 deletions