Repository : ssh://[email protected]/Cabal On branch : ghc-head Link : http://git.haskell.org/?p=packages/Cabal.git;a=commit;h=e41a92a7bbad928d14d4bf1291d23e6bd6ce169e
>--------------------------------------------------------------- commit e41a92a7bbad928d14d4bf1291d23e6bd6ce169e Author: Herbert Valerio Riedel <[email protected]> Date: Tue Sep 3 18:18:13 2013 +0200 Add ExplicitNamespaces and AllowAmbiguousTypes extensions >--------------------------------------------------------------- e41a92a7bbad928d14d4bf1291d23e6bd6ce169e Cabal/Language/Haskell/Extension.hs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Cabal/Language/Haskell/Extension.hs b/Cabal/Language/Haskell/Extension.hs index 293da75..809bce2 100644 --- a/Cabal/Language/Haskell/Extension.hs +++ b/Cabal/Language/Haskell/Extension.hs @@ -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 _______________________________________________ ghc-commits mailing list [email protected] http://www.haskell.org/mailman/listinfo/ghc-commits
