Skip to content

Commit 367a037

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

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

vector/vector.cabal

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,9 @@ common flag-Wall
100100
Ghc-Options: -fno-warn-orphans
101101
if impl(ghc >= 8.0) && impl(ghc < 8.1)
102102
Ghc-Options: -Wno-redundant-constraints
103+
-- Disable pointless warning about partial functions
104+
if impl(ghc >= 9.8)
105+
Ghc-Options: -Wno-x-partial
103106

104107

105108
Library

0 commit comments

Comments
 (0)