Skip to content
GitLab
Menu
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
a8a121ea
Commit
a8a121ea
authored
Jan 06, 2016
by
Ben Gamari
🐢
Browse files
Add more new language extensions from GHC
parent
f3141eb6
Changes
1
Show whitespace changes
Inline
Side-by-side
Cabal/Language/Haskell/Extension.hs
View file @
a8a121ea
...
@@ -747,10 +747,24 @@ data KnownExtension =
...
@@ -747,10 +747,24 @@ data KnownExtension =
-- | Enable explicit type applications with the syntax @id \@Int@.
-- | Enable explicit type applications with the syntax @id \@Int@.
|
TypeApplications
|
TypeApplications
-- | Dissolve the distinction between types and kinds, allowing the compiler
-- to reason about kind equality and therefore enabling GADTs to be promoted
-- to the type-level.
|
TypeInType
-- | Allow recursive (and therefore undecideable) super-class relationships.
|
UndecidableSuperClasses
-- | A temporary extension to help library authors check if their
-- | A temporary extension to help library authors check if their
-- code will compile with the new planned desugaring of fail.
-- code will compile with the new planned desugaring of fail.
|
MonadFailDesugaring
|
MonadFailDesugaring
-- | A subset of @TemplateHaskell@ including only quasi-quoting.
|
TemplateHaskellQuotes
-- | Allows use of the @#label@ syntax.
|
OverloadedLabels
deriving
(
Generic
,
Show
,
Read
,
Eq
,
Ord
,
Enum
,
Bounded
,
Typeable
,
Data
)
deriving
(
Generic
,
Show
,
Read
,
Eq
,
Ord
,
Enum
,
Bounded
,
Typeable
,
Data
)
instance
Binary
KnownExtension
instance
Binary
KnownExtension
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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