diff options
author | klebinger.andreas@gmx.at <klebinger.andreas@gmx.at> | 2017-11-27 09:46:32 -0500 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2017-11-27 09:46:34 -0500 |
commit | b241d6db1a8155fc939700f01cc2fa5f89906f34 (patch) | |
tree | 6a00316b967c227f3a284747b57f508711e8215e /compiler/utils/Outputable.hs | |
parent | 62823668c48e13290e2ffe0d593a9f6a95cf628b (diff) | |
download | haskell-b241d6db1a8155fc939700f01cc2fa5f89906f34.tar.gz |
Add obvious Outputable Integer instance.
Reviewers: bgamari
Reviewed By: bgamari
Subscribers: rwbarton, thomie
Differential Revision: https://phabricator.haskell.org/D4232
Diffstat (limited to 'compiler/utils/Outputable.hs')
-rw-r--r-- | compiler/utils/Outputable.hs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/utils/Outputable.hs b/compiler/utils/Outputable.hs index 95960f59b0..3050fa1cf1 100644 --- a/compiler/utils/Outputable.hs +++ b/compiler/utils/Outputable.hs @@ -788,6 +788,9 @@ instance Outputable Int64 where instance Outputable Int where ppr n = int n +instance Outputable Integer where + ppr n = integer n + instance Outputable Word16 where ppr n = integer $ fromIntegral n |