Skip to content

Commit bca8d2e

Browse files
committed
Fix warnings
1 parent 1a66361 commit bca8d2e

File tree

13 files changed

+25
-3
lines changed

13 files changed

+25
-3
lines changed

src/Data/Poly.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
{-# LANGUAGE CPP #-}
1313
{-# LANGUAGE PatternSynonyms #-}
1414

15+
{-# OPTIONS_GHC -Wno-unrecognised-warning-flags -Wno-pattern-namespace-specifier #-}
16+
1517
module Data.Poly
1618
( Poly
1719
, VPoly

src/Data/Poly/Internal/Dense.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
{-# LANGUAGE TypeFamilies #-}
1616
{-# LANGUAGE ViewPatterns #-}
1717

18+
{-# OPTIONS_GHC -Wno-unrecognised-warning-flags -Wno-pattern-namespace-specifier #-}
19+
1820
module Data.Poly.Internal.Dense
1921
( Poly(..)
2022
, VPoly

src/Data/Poly/Internal/Dense/Laurent.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
{-# LANGUAGE ScopedTypeVariables #-}
1414
{-# LANGUAGE ViewPatterns #-}
1515

16+
{-# OPTIONS_GHC -Wno-unrecognised-warning-flags -Wno-pattern-namespace-specifier #-}
17+
1618
module Data.Poly.Internal.Dense.Laurent
1719
( Laurent
1820
, VLaurent

src/Data/Poly/Internal/Multi.hs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,17 @@
99
{-# LANGUAGE FlexibleContexts #-}
1010
{-# LANGUAGE FlexibleInstances #-}
1111
{-# LANGUAGE GADTs #-}
12-
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
1312
{-# LANGUAGE LambdaCase #-}
1413
{-# LANGUAGE PatternSynonyms #-}
1514
{-# LANGUAGE PolyKinds #-}
1615
{-# LANGUAGE ScopedTypeVariables #-}
17-
{-# LANGUAGE StandaloneDeriving #-}
1816
{-# LANGUAGE TypeApplications #-}
1917
{-# LANGUAGE TypeFamilies #-}
2018
{-# LANGUAGE TypeOperators #-}
2119
{-# LANGUAGE UndecidableInstances #-}
2220
{-# LANGUAGE ViewPatterns #-}
2321

24-
{-# OPTIONS_GHC -fno-warn-orphans #-}
22+
{-# OPTIONS_GHC -Wno-orphans -Wno-unrecognised-warning-flags -Wno-pattern-namespace-specifier #-}
2523

2624
module Data.Poly.Internal.Multi
2725
( MultiPoly(..)

src/Data/Poly/Internal/Multi/Laurent.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
{-# LANGUAGE UndecidableInstances #-}
2323
{-# LANGUAGE ViewPatterns #-}
2424

25+
{-# OPTIONS_GHC -Wno-unrecognised-warning-flags -Wno-pattern-namespace-specifier #-}
26+
2527
module Data.Poly.Internal.Multi.Laurent
2628
( MultiLaurent
2729
, VMultiLaurent

src/Data/Poly/Laurent.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111

1212
{-# LANGUAGE PatternSynonyms #-}
1313

14+
{-# OPTIONS_GHC -Wno-unrecognised-warning-flags -Wno-pattern-namespace-specifier #-}
15+
1416
module Data.Poly.Laurent
1517
( Laurent
1618
, VLaurent

src/Data/Poly/Multi.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
{-# LANGUAGE FlexibleContexts #-}
1313
{-# LANGUAGE PatternSynonyms #-}
1414

15+
{-# OPTIONS_GHC -Wno-unrecognised-warning-flags -Wno-pattern-namespace-specifier #-}
16+
1517
module Data.Poly.Multi
1618
( MultiPoly
1719
, VMultiPoly

src/Data/Poly/Multi/Laurent.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010

1111
{-# LANGUAGE PatternSynonyms #-}
1212

13+
{-# OPTIONS_GHC -Wno-unrecognised-warning-flags -Wno-pattern-namespace-specifier #-}
14+
1315
module Data.Poly.Multi.Laurent
1416
( MultiLaurent
1517
, VMultiLaurent

src/Data/Poly/Multi/Semiring.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
{-# LANGUAGE TypeFamilies #-}
1515
{-# LANGUAGE TypeOperators #-}
1616

17+
{-# OPTIONS_GHC -Wno-unrecognised-warning-flags -Wno-pattern-namespace-specifier #-}
18+
1719
module Data.Poly.Multi.Semiring
1820
( MultiPoly
1921
, VMultiPoly

src/Data/Poly/Semiring.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
{-# LANGUAGE FlexibleContexts #-}
1414
{-# LANGUAGE PatternSynonyms #-}
1515

16+
{-# OPTIONS_GHC -Wno-unrecognised-warning-flags -Wno-pattern-namespace-specifier #-}
17+
1618
module Data.Poly.Semiring
1719
( Poly
1820
, VPoly

0 commit comments

Comments
 (0)