[commit: packages/containers] changelog-foldtree, cleaned_bugfix394, develop, develop-0.6, develop-0.6-questionable, master, merge-doc-target, merge-fixes-5.9, merge-restrict-fix-5.8, revert-184-generic, revert-408-bugfix_394, zip-devel: Add LANGUAGE RoleAnnotations for ghc 7.8 (cb08a7e)

git at git.haskell.org git at git.haskell.org
Mon Apr 17 21:33:22 UTC 2017


Repository : ssh://git@git.haskell.org/containers

On branches: changelog-foldtree,cleaned_bugfix394,develop,develop-0.6,develop-0.6-questionable,master,merge-doc-target,merge-fixes-5.9,merge-restrict-fix-5.8,revert-184-generic,revert-408-bugfix_394,zip-devel
Link       : http://git.haskell.org/packages/containers.git/commitdiff/cb08a7e06676d38f2f5deb35d0035429c1c10eb1

>---------------------------------------------------------------

commit cb08a7e06676d38f2f5deb35d0035429c1c10eb1
Author: Konstantine Rybnikov <k-bx at k-bx.com>
Date:   Sun Apr 13 23:52:57 2014 +0200

    Add LANGUAGE RoleAnnotations for ghc 7.8


>---------------------------------------------------------------

cb08a7e06676d38f2f5deb35d0035429c1c10eb1
 Data/Map/Base.hs | 3 +++
 Data/Set/Base.hs | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/Data/Map/Base.hs b/Data/Map/Base.hs
index 6a93a73..95f7b91 100644
--- a/Data/Map/Base.hs
+++ b/Data/Map/Base.hs
@@ -5,6 +5,9 @@
 #if !defined(TESTING) && __GLASGOW_HASKELL__ >= 703
 {-# LANGUAGE Trustworthy #-}
 #endif
+#if __GLASGOW_HASKELL__ >= 708
+{-# LANGUAGE RoleAnnotations #-}
+#endif
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  Data.Map.Base
diff --git a/Data/Set/Base.hs b/Data/Set/Base.hs
index f863d17..da3b21d 100644
--- a/Data/Set/Base.hs
+++ b/Data/Set/Base.hs
@@ -5,6 +5,9 @@
 #if !defined(TESTING) && __GLASGOW_HASKELL__ >= 703
 {-# LANGUAGE Trustworthy #-}
 #endif
+#if __GLASGOW_HASKELL__ >= 708
+{-# LANGUAGE RoleAnnotations #-}
+#endif
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  Data.Set.Base



More information about the ghc-commits mailing list