summaryrefslogtreecommitdiff
path: root/src/runtime/haskell-bind
diff options
context:
space:
mode:
authorhallgren <hallgren@chalmers.se>2015-09-10 15:07:48 +0000
committerhallgren <hallgren@chalmers.se>2015-09-10 15:07:48 +0000
commite5ec343f4fe4d92a905687c27568bd3379b3ac88 (patch)
treef471c2ecece9b45dd8e0d98caa9b4919ecb8a572 /src/runtime/haskell-bind
parentfe3dfd7cc4e4cd137a844962583ce0382db29715 (diff)
PGF2.Expr: a fix for ghc-7.6
Apparently Foreign.unsafePerformIO is not just a re-export of System.IO.Unsafe.unsafePerformIO (or vise versa), it is a different function, so you get an ambiguity if you import both.
Diffstat (limited to 'src/runtime/haskell-bind')
-rw-r--r--src/runtime/haskell-bind/PGF2/Expr.hsc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/haskell-bind/PGF2/Expr.hsc b/src/runtime/haskell-bind/PGF2/Expr.hsc
index 93df74ff7..d6cf8670a 100644
--- a/src/runtime/haskell-bind/PGF2/Expr.hsc
+++ b/src/runtime/haskell-bind/PGF2/Expr.hsc
@@ -4,7 +4,7 @@
module PGF2.Expr where
import System.IO.Unsafe(unsafePerformIO)
-import Foreign
+import Foreign hiding (unsafePerformIO)
import Foreign.C
import qualified Text.PrettyPrint as PP
import PGF2.FFI