From a976a49cef29a2dec88f2a9e5e09c628c9c63e91 Mon Sep 17 00:00:00 2001 From: hallgren Date: Thu, 10 Sep 2015 15:07:48 +0000 Subject: [PATCH] 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. --- src/runtime/haskell-bind/PGF2/Expr.hsc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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