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
7499b44e
Commit
7499b44e
authored
Jul 08, 2018
by
quasicomputational
Browse files
Add QuantifiedConstraints and StarIsType to KnownExtension.
parent
eb44385a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Cabal/ChangeLog.md
View file @
7499b44e
...
...
@@ -11,8 +11,9 @@
[
#5287
](
https://github.com/haskell/cabal/pull/5287
)
)
*
`KnownExtension`
: added new extensions
`BlockArguments`
(
[
#5101
](
https://github.com/haskell/cabal/issues/5101
)
),
and
`NumericUnderscores`
(
[
#5130
](
(https://github.com/haskell/cabal/issues/5130
)
).
`NumericUnderscores`
(
[
#5130
](
(https://github.com/haskell/cabal/issues/5130
)
),
`QuantifiedConstraints`
, and
`StarIsType`
.
*
`buildDepends`
is removed from
`PackageDescription`
. It had long been
uselessly hanging about as top-level build-depends already got put
into per-component condition trees anyway. Now it's finally been put
...
...
Cabal/Language/Haskell/Extension.hs
View file @
7499b44e
...
...
@@ -815,6 +815,12 @@ data KnownExtension =
-- | Allow use of underscores in numeric literals.
|
NumericUnderscores
-- | Allow @forall@ in constraints.
|
QuantifiedConstraints
-- | Have @*@ refer to @Type@.
|
StarIsType
deriving
(
Generic
,
Show
,
Read
,
Eq
,
Ord
,
Enum
,
Bounded
,
Typeable
,
Data
)
instance
Binary
KnownExtension
...
...
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