1
0
forked from GitHub/gf-core

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.
This commit is contained in:
hallgren
2015-09-10 15:07:48 +00:00
parent 6b285d215c
commit a976a49cef

View File

@@ -4,7 +4,7 @@
module PGF2.Expr where module PGF2.Expr where
import System.IO.Unsafe(unsafePerformIO) import System.IO.Unsafe(unsafePerformIO)
import Foreign import Foreign hiding (unsafePerformIO)
import Foreign.C import Foreign.C
import qualified Text.PrettyPrint as PP import qualified Text.PrettyPrint as PP
import PGF2.FFI import PGF2.FFI