Commit 97ccac0b authored by Mikhail Glushenkov's avatar Mikhail Glushenkov
Browse files

Merge pull request #2875 from thoughtpolice/more-extns

Add some missing extensions to Language.Haskell.Extension
parents 41d89064 402e4350
......@@ -719,6 +719,26 @@ data KnownExtension =
-- * <http://www.haskell.org/ghc/docs/latest/html/users_guide/deriving.html#deriving-lift>
| DeriveLift
-- | Enable support for 'static pointers' (and the @static@
-- keyword) to refer to globally stable names, even across
-- different programs.
--
-- * <http://www.haskell.org/ghc/docs/latest/html/users_guide/static-pointers.html>
| StaticPointers
-- | Switches data type declarations to be strict by default (as if
-- they had a bang using @BangPatterns@), and allow opt-in field
-- laziness using @~@.
| StrictData
-- | Allows @do@-notation for types that are @'Applicative'@ as well
-- as @'Monad'@. When enabled, desugaring @do@ notation tries to use
-- @(<*>)@ and @'fmap'@ and @'join'@ as far as possible.
| ApplicativeDo
-- | Allow records to use duplicated field labels for accessors.
| DuplicateRecordFields
deriving (Generic, Show, Read, Eq, Ord, Enum, Bounded, Typeable, Data)
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