Commit e41a92a7 authored by Herbert Valerio Riedel's avatar Herbert Valerio Riedel 🕺
Browse files

Add ExplicitNamespaces and AllowAmbiguousTypes extensions

parent fd25e679
...@@ -694,6 +694,16 @@ data KnownExtension = ...@@ -694,6 +694,16 @@ data KnownExtension =
-- * <http://www.haskell.org/ghc/docs/latest/html/users_guide/type-class-extensions.html#nullary-type-classes> -- * <http://www.haskell.org/ghc/docs/latest/html/users_guide/type-class-extensions.html#nullary-type-classes>
| NullaryTypeClasses | NullaryTypeClasses
-- | Enable explicit namespaces in module import/export lists.
--
-- * <http://www.haskell.org/ghc/docs/latest/html/users_guide/syntax-extns.html#explicit-namespaces>
| ExplicitNamespaces
-- | Allow the user to write ambiguous types, and the type inference engine to infer them.
--
-- * <http://www.haskell.org/ghc/docs/latest/html/users_guide/other-type-extensions.html#ambiguity>
| AllowAmbiguousTypes
deriving (Show, Read, Eq, Enum, Bounded, Typeable, Data) deriving (Show, Read, Eq, Enum, Bounded, Typeable, Data)
{-# DEPRECATED knownExtensions {-# DEPRECATED knownExtensions
......
Supports Markdown
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