We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6c11a04 + 6368320 commit c3f92c4Copy full SHA for c3f92c4
Cabal-QuickCheck/src/Test/QuickCheck/Instances/Cabal.hs
@@ -74,7 +74,7 @@ instance Arbitrary PackageName where
74
arbitrary = mkPackageName . intercalate "-" <$> shortListOf1 2 nameComponent
75
where
76
nameComponent = shortListOf1 5 (elements packageChars)
77
- `suchThat` (not . all isDigit)
+ `suchThat` (liftA2 (&&) (not . all isDigit) (/= "all"))
78
packageChars = filter isAlphaNum ['\0'..'\127']
79
80
instance Arbitrary PackageIdentifier where
0 commit comments