projects
/
ghc-base.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add instances for basic types of the new generic deriving mechanism.
[ghc-base.git]
/
Data
/
Complex.hs
diff --git
a/Data/Complex.hs
b/Data/Complex.hs
index
9765eda
..
9ea8a41
100644
(file)
--- a/
Data/Complex.hs
+++ b/
Data/Complex.hs
@@
-1,4
+1,7
@@
{-# LANGUAGE CPP, DeriveDataTypeable #-}
+#ifdef __GLASGOW_HASKELL__
+{-# LANGUAGE StandaloneDeriving #-}
+#endif
-----------------------------------------------------------------------------
-- |