Commit a8a121ea authored by Ben Gamari's avatar Ben Gamari 🐢
Browse files

Add more new language extensions from GHC

parent f3141eb6
...@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment