projects
/
ghc-base.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
For GHC, implement the Typeable.hs macros using standalone deriving
[ghc-base.git]
/
Control
/
Exception
/
Base.hs
diff --git
a/Control/Exception/Base.hs
b/Control/Exception/Base.hs
index
cb5321b
..
a5d72ce
100644
(file)
--- a/
Control/Exception/Base.hs
+++ b/
Control/Exception/Base.hs
@@
-1,4
+1,7
@@
{-# LANGUAGE CPP, NoImplicitPrelude, MagicHash #-}
+#ifdef __GLASGOW_HASKELL__
+{-# LANGUAGE DeriveDataTypeable, StandaloneDeriving #-}
+#endif
#include "Typeable.h"