Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
Packages
Cabal
Commits
285ed5b9
Commit
285ed5b9
authored
Jun 28, 2018
by
quasicomputational
Browse files
Add a Globstar constructor to CabalFeature.
parent
008c0fcb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Cabal/Distribution/CabalSpecVersion.hs
View file @
285ed5b9
...
...
@@ -34,6 +34,7 @@ cabalSpecFeatures CabalSpecV2_2 = Set.fromList
cabalSpecFeatures
CabalSpecV2_4
=
Set
.
fromList
[
Elif
,
CommonStanzas
,
Globstar
]
cabalSpecSupports
::
CabalSpecVersion
->
[
Int
]
->
Bool
...
...
@@ -61,6 +62,9 @@ specHasElif _ = NoElif
data
CabalFeature
=
Elif
|
CommonStanzas
|
Globstar
-- ^ Implemented in #5284. Not actually a change to the parser,
-- as filename patterns are opaque to it currently.
deriving
(
Eq
,
Ord
,
Show
,
Read
,
Enum
,
Bounded
,
Typeable
,
Data
,
Generic
)
-------------------------------------------------------------------------------
...
...
@@ -72,3 +76,5 @@ data HasElif = HasElif | NoElif
data
HasCommonStanzas
=
HasCommonStanzas
|
NoCommonStanzas
deriving
(
Eq
,
Show
)
data
HasGlobstar
=
HasGlobstar
|
NoGlobstar
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment