projects
/
matthijs
/
master-project
/
cλash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6f6ac46
)
Derive Show CoreSyn.Note.
author
Matthijs Kooijman
<m.kooijman@student.utwente.nl>
Wed, 15 Apr 2009 08:40:11 +0000
(10:40 +0200)
committer
Matthijs Kooijman
<m.kooijman@student.utwente.nl>
Wed, 15 Apr 2009 08:40:11 +0000
(10:40 +0200)
CoreShow.hs
patch
|
blob
|
history
diff --git
a/CoreShow.hs
b/CoreShow.hs
index e45d85f743dd8b2099da8b9376555cbd311b8385..75bacefe3b278f493177007e13dbb6c64209ef05 100644
(file)
--- a/
CoreShow.hs
+++ b/
CoreShow.hs
@@
-29,12
+29,11
@@
deriving instance (Show x, OutputableBndr x) => Show (HsExpr.StmtLR x x)
deriving instance (Show x, OutputableBndr x) => Show (HsExpr.HsExpr x)
deriving instance Show (RdrName.RdrName)
deriving instance (Show idL, Show idR, OutputableBndr idL, OutputableBndr idR) => Show (HsBinds.HsBindLR idL idR)
deriving instance (Show x, OutputableBndr x) => Show (HsExpr.HsExpr x)
deriving instance Show (RdrName.RdrName)
deriving instance (Show idL, Show idR, OutputableBndr idL, OutputableBndr idR) => Show (HsBinds.HsBindLR idL idR)
+deriving instance Show CoreSyn.Note
-- Implement dummy shows, since deriving them will need loads of other shows
-- as well.
-- Implement dummy shows, since deriving them will need loads of other shows
-- as well.
-instance Show CoreSyn.Note where
- show n = "<note>"
instance Show TypeRep.PredType where
show t = "_PredType:(" ++ (showSDoc $ ppr t) ++ ")"
instance Show TyCon.TyCon where
instance Show TypeRep.PredType where
show t = "_PredType:(" ++ (showSDoc $ ppr t) ++ ")"
instance Show TyCon.TyCon where