Skip to content
Snippets Groups Projects
Commit e41a92a7 authored by Herbert Valerio Riedel's avatar Herbert Valerio Riedel :man_dancing:
Browse files

Add ExplicitNamespaces and AllowAmbiguousTypes extensions

parent fd25e679
No related branches found
No related merge requests found
......@@ -694,6 +694,16 @@ data KnownExtension =
-- * <http://www.haskell.org/ghc/docs/latest/html/users_guide/type-class-extensions.html#nullary-type-classes>
| 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)
{-# DEPRECATED knownExtensions
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment