diff options
author | simonpj@microsoft.com <unknown> | 2011-01-28 12:07:19 +0000 |
---|---|---|
committer | simonpj@microsoft.com <unknown> | 2011-01-28 12:07:19 +0000 |
commit | 32ba2853209b8914fd36947ccf57d34c009a9e47 (patch) | |
tree | 684ac65733ddbdffc48bd4f57e889e9d7f95a610 /libraries/base/Data/Fixed.hs | |
parent | 4cc27e70f04c114b4e24e16cdb8c3e9ccf926ca2 (diff) | |
download | haskell-32ba2853209b8914fd36947ccf57d34c009a9e47.tar.gz |
Use explicit language extensions & remove extension fields from base.cabal
Add explicit {-# LANGUAGE xxx #-} pragmas to each module, that say
what extensions that module uses. This makes it clearer where
different extensions are used in the (large, variagated) base package.
Now base.cabal doesn't need any extensions field
Thanks to Bas van Dijk for doing all the work.
Diffstat (limited to 'libraries/base/Data/Fixed.hs')
-rw-r--r-- | libraries/base/Data/Fixed.hs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libraries/base/Data/Fixed.hs b/libraries/base/Data/Fixed.hs index 98d212defd..cd4409295b 100644 --- a/libraries/base/Data/Fixed.hs +++ b/libraries/base/Data/Fixed.hs @@ -1,5 +1,9 @@ +{-# LANGUAGE CPP #-} {-# OPTIONS -Wall -fno-warn-unused-binds #-} +#ifndef __NHC__ +{-# LANGUAGE DeriveDataTypeable #-} +#endif ----------------------------------------------------------------------------- -- | -- Module : Data.Fixed |