1
0
forked from GitHub/gf-core

PGF2.Expr fixes

It needs to be listed in gf.cabal
unsafePerformIO is only exported from System.IO.Unsafe, starting with ghc-7.8
This commit is contained in:
hallgren
2015-09-03 20:41:00 +00:00
parent 5bcc2741fe
commit dab749a956
2 changed files with 2 additions and 1 deletions

View File

@@ -133,7 +133,7 @@ Library
if flag(c-runtime)
exposed-modules: PGF2
other-modules: PGF2.FFI
other-modules: PGF2.FFI PGF2.Expr
GF.Interactive2 GF.Command.Commands2
hs-source-dirs: src/runtime/haskell-bind
build-tools: hsc2hs

View File

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