Skip to content

Commit b2e00f2

Browse files
committed
Disable pointless warning about head & tail
1 parent 2f10cd4 commit b2e00f2

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

vector/vector.cabal

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@ common flag-Wall
101101
if impl(ghc >= 8.0) && impl(ghc < 8.1)
102102
Ghc-Options: -Wno-redundant-constraints
103103

104-
105104
Library
106105
import: flag-Wall
107106
Default-Language: Haskell2010
@@ -184,6 +183,9 @@ Library
184183
-- rewrite rules
185184
common tests-common
186185
Default-Language: Haskell2010
186+
-- Disable pointless warning about partial functions
187+
if impl(ghc >= 9.8)
188+
Ghc-Options: -Wno-x-partial
187189
Ghc-Options: -fno-warn-missing-signatures
188190
hs-source-dirs: tests
189191
Build-Depends: base >= 4.5 && < 5

0 commit comments

Comments
 (0)