[commit: ghc] master: Whitespace only in utils/Outputable.lhs (5ae0cea)
Ian Lynagh
igloo at earth.li
Sun Aug 5 17:38:47 CEST 2012
Repository : ssh://darcs.haskell.org//srv/darcs/ghc
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/5ae0cea2cbd6777525e625397db941b81078120b
>---------------------------------------------------------------
commit 5ae0cea2cbd6777525e625397db941b81078120b
Author: Ian Lynagh <ian at well-typed.com>
Date: Sun Aug 5 14:19:40 2012 +0100
Whitespace only in utils/Outputable.lhs
>---------------------------------------------------------------
compiler/utils/Outputable.lhs | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/compiler/utils/Outputable.lhs b/compiler/utils/Outputable.lhs
index 2ac49b3..8b49d30 100644
--- a/compiler/utils/Outputable.lhs
+++ b/compiler/utils/Outputable.lhs
@@ -605,19 +605,19 @@ instance Outputable Bool where
ppr False = ptext (sLit "False")
instance Outputable Int where
- ppr n = int n
+ ppr n = int n
instance Outputable Word16 where
- ppr n = integer $ fromIntegral n
+ ppr n = integer $ fromIntegral n
instance Outputable Word32 where
- ppr n = integer $ fromIntegral n
+ ppr n = integer $ fromIntegral n
instance Outputable Word where
- ppr n = integer $ fromIntegral n
+ ppr n = integer $ fromIntegral n
instance Outputable () where
- ppr _ = text "()"
+ ppr _ = text "()"
instance (Outputable a) => Outputable [a] where
ppr xs = brackets (fsep (punctuate comma (map ppr xs)))
@@ -629,12 +629,12 @@ instance (Outputable a, Outputable b) => Outputable (a, b) where
ppr (x,y) = parens (sep [ppr x <> comma, ppr y])
instance Outputable a => Outputable (Maybe a) where
- ppr Nothing = ptext (sLit "Nothing")
- ppr (Just x) = ptext (sLit "Just") <+> ppr x
+ ppr Nothing = ptext (sLit "Nothing")
+ ppr (Just x) = ptext (sLit "Just") <+> ppr x
instance (Outputable a, Outputable b) => Outputable (Either a b) where
- ppr (Left x) = ptext (sLit "Left") <+> ppr x
- ppr (Right y) = ptext (sLit "Right") <+> ppr y
+ ppr (Left x) = ptext (sLit "Left") <+> ppr x
+ ppr (Right y) = ptext (sLit "Right") <+> ppr y
-- ToDo: may not be used
instance (Outputable a, Outputable b, Outputable c) => Outputable (a, b, c) where
More information about the Cvs-ghc
mailing list