From e8f8f5445dd7891b6e597c72e7c88b36aa581b10 Mon Sep 17 00:00:00 2001 From: Khudyakov Alexey Date: Mon, 27 Sep 2010 19:45:41 +0000 Subject: [hlint] Clean up language pragmas * use LANGUAGE pragmas instead of deprecated one * remove unused pragmas --- lib/Data/Packed/Internal/Matrix.hs | 6 ++++-- lib/Data/Packed/Matrix.hs | 1 - lib/Data/Packed/ST.hs | 5 +++-- 3 files changed, 7 insertions(+), 5 deletions(-) (limited to 'lib/Data/Packed') 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 @@ -{-# OPTIONS_GHC -fglasgow-exts #-} -{-# LANGUAGE CPP, BangPatterns #-} +{-# LANGUAGE ForeignFunctionInterface #-} +{-# LANGUAGE FlexibleContexts #-} +{-# LANGUAGE FlexibleInstances #-} +{-# LANGUAGE BangPatterns #-} ----------------------------------------------------------------------------- -- | -- 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 @@ {-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE FlexibleInstances #-} {-# LANGUAGE MultiParamTypeClasses #-} -{-# LANGUAGE FunctionalDependencies #-} ----------------------------------------------------------------------------- -- | 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 @@ -{-# OPTIONS -XTypeOperators -XRank2Types -XFlexibleContexts -XBangPatterns #-} - +{-# LANGUAGE TypeOperators #-} +{-# LANGUAGE Rank2Types #-} +{-# LANGUAGE BangPatterns #-} ----------------------------------------------------------------------------- -- | -- Module : Data.Packed.ST -- cgit v1.2.3