summaryrefslogtreecommitdiff
path: root/compiler/utils/Exception.hs
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2008-07-30 12:01:34 +0000
committerIan Lynagh <igloo@earth.li>2008-07-30 12:01:34 +0000
commitaa9a4f1053d3c554629a2ec25955e7530c95b892 (patch)
tree7d9839bc410e92c7b0a6e35713fbbf03673338be /compiler/utils/Exception.hs
parent179a3a7bd67ccc816e3b934eff770fb49c4cc456 (diff)
downloadhaskell-aa9a4f1053d3c554629a2ec25955e7530c95b892.tar.gz
Follow extensible exception changes
Diffstat (limited to 'compiler/utils/Exception.hs')
-rw-r--r--compiler/utils/Exception.hs19
1 files changed, 19 insertions, 0 deletions
diff --git a/compiler/utils/Exception.hs b/compiler/utils/Exception.hs
new file mode 100644
index 0000000000..11172b59b1
--- /dev/null
+++ b/compiler/utils/Exception.hs
@@ -0,0 +1,19 @@
+
+module Exception
+ (
+#if __GLASGOW_HASKELL__ >= 609
+ module Control.OldException
+#else
+ module Control.Exception
+#endif
+ )
+ where
+
+import Prelude ()
+
+#if __GLASGOW_HASKELL__ >= 609
+import Control.OldException
+#else
+import Control.Exception
+#endif
+