From 4e49da11c0a7bfadd1356a64b947d39abdc36ec1 Mon Sep 17 00:00:00 2001 From: Alberto Ruiz Date: Tue, 14 Oct 2008 15:30:20 +0000 Subject: ok with ghc-6.10-rc --- lib/Numeric/LinearAlgebra/Instances.hs | 3 ++- lib/Numeric/LinearAlgebra/Linear.hs | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'lib/Numeric/LinearAlgebra') diff --git a/lib/Numeric/LinearAlgebra/Instances.hs b/lib/Numeric/LinearAlgebra/Instances.hs index 91467ad..147537d 100644 --- a/lib/Numeric/LinearAlgebra/Instances.hs +++ b/lib/Numeric/LinearAlgebra/Instances.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fglasgow-exts -fallow-undecidable-instances #-} +{-# LANGUAGE UndecidableInstances, FlexibleInstances #-} ----------------------------------------------------------------------------- {- | Module : Numeric.LinearAlgebra.Instances @@ -188,3 +188,4 @@ instance (Storable a) => Monoid (Vector a) where mconcat = j . filter ((>0).dim) where j [] = mempty j l = join l + diff --git a/lib/Numeric/LinearAlgebra/Linear.hs b/lib/Numeric/LinearAlgebra/Linear.hs index 1bf8b04..3af9960 100644 --- a/lib/Numeric/LinearAlgebra/Linear.hs +++ b/lib/Numeric/LinearAlgebra/Linear.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fglasgow-exts -fallow-undecidable-instances #-} +{-# LANGUAGE UndecidableInstances, MultiParamTypeClasses, FlexibleInstances #-} ----------------------------------------------------------------------------- {- | Module : Numeric.LinearAlgebra.Linear -- cgit v1.2.3