diff options
author | Khudyakov Alexey <alexey.skladnoy@gmail.com> | 2010-09-27 19:45:41 +0000 |
---|---|---|
committer | Khudyakov Alexey <alexey.skladnoy@gmail.com> | 2010-09-27 19:45:41 +0000 |
commit | e8f8f5445dd7891b6e597c72e7c88b36aa581b10 (patch) | |
tree | bc66f1cea97351183bcb9625d68443c736f8fc03 /lib/Data/Packed | |
parent | 7cfba6b4eb311590986a888255cd1dc594bd7264 (diff) |
[hlint] Clean up language pragmas
* use LANGUAGE pragmas instead of deprecated one
* remove unused pragmas
Diffstat (limited to 'lib/Data/Packed')
-rw-r--r-- | lib/Data/Packed/Internal/Matrix.hs | 6 | ||||
-rw-r--r-- | lib/Data/Packed/Matrix.hs | 1 | ||||
-rw-r--r-- | lib/Data/Packed/ST.hs | 5 |
3 files changed, 7 insertions, 5 deletions
diff --git a/lib/Data/Packed/Internal/Matrix.hs b/lib/Data/Packed/Internal/Matrix.hs index b616442..c4491fb 100644 --- a/lib/Data/Packed/Internal/Matrix.hs +++ b/lib/Data/Packed/Internal/Matrix.hs | |||
@@ -1,5 +1,7 @@ | |||
1 | {-# OPTIONS_GHC -fglasgow-exts #-} | 1 | {-# LANGUAGE ForeignFunctionInterface #-} |
2 | {-# LANGUAGE CPP, BangPatterns #-} | 2 | {-# LANGUAGE FlexibleContexts #-} |
3 | {-# LANGUAGE FlexibleInstances #-} | ||
4 | {-# LANGUAGE BangPatterns #-} | ||
3 | ----------------------------------------------------------------------------- | 5 | ----------------------------------------------------------------------------- |
4 | -- | | 6 | -- | |
5 | -- Module : Data.Packed.Internal.Matrix | 7 | -- Module : Data.Packed.Internal.Matrix |
diff --git a/lib/Data/Packed/Matrix.hs b/lib/Data/Packed/Matrix.hs index 50a321d..2efb08d 100644 --- a/lib/Data/Packed/Matrix.hs +++ b/lib/Data/Packed/Matrix.hs | |||
@@ -2,7 +2,6 @@ | |||
2 | {-# LANGUAGE FlexibleContexts #-} | 2 | {-# LANGUAGE FlexibleContexts #-} |
3 | {-# LANGUAGE FlexibleInstances #-} | 3 | {-# LANGUAGE FlexibleInstances #-} |
4 | {-# LANGUAGE MultiParamTypeClasses #-} | 4 | {-# LANGUAGE MultiParamTypeClasses #-} |
5 | {-# LANGUAGE FunctionalDependencies #-} | ||
6 | 5 | ||
7 | ----------------------------------------------------------------------------- | 6 | ----------------------------------------------------------------------------- |
8 | -- | | 7 | -- | |
diff --git a/lib/Data/Packed/ST.hs b/lib/Data/Packed/ST.hs index 652f43e..2fad6ae 100644 --- a/lib/Data/Packed/ST.hs +++ b/lib/Data/Packed/ST.hs | |||
@@ -1,5 +1,6 @@ | |||
1 | {-# OPTIONS -XTypeOperators -XRank2Types -XFlexibleContexts -XBangPatterns #-} | 1 | {-# LANGUAGE TypeOperators #-} |
2 | 2 | {-# LANGUAGE Rank2Types #-} | |
3 | {-# LANGUAGE BangPatterns #-} | ||
3 | ----------------------------------------------------------------------------- | 4 | ----------------------------------------------------------------------------- |
4 | -- | | 5 | -- | |
5 | -- Module : Data.Packed.ST | 6 | -- Module : Data.Packed.ST |