summaryrefslogtreecommitdiff
path: root/src/runtime/haskell-bind/pgf2-bind.cabal
diff options
context:
space:
mode:
authorhallgren <hallgren@chalmers.se>2014-05-07 16:37:28 +0000
committerhallgren <hallgren@chalmers.se>2014-05-07 16:37:28 +0000
commit04e7bdb6fe5c888a4c45f0d9cac6ffebc6f5d835 (patch)
tree64bcb6dae68fb4c5c2aed64e2244bc121323632d /src/runtime/haskell-bind/pgf2-bind.cabal
parent27fc5e5b04b0e828c11fe7081f9edf311e46581a (diff)
Two improvements in the pgf-shell example
1. Like pgf-translate, it now shows one result at a time, press Enter to get more results. 2. You can load a new grammar with the command 'i <path-to-pgf>'
Diffstat (limited to 'src/runtime/haskell-bind/pgf2-bind.cabal')
-rw-r--r--src/runtime/haskell-bind/pgf2-bind.cabal4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/runtime/haskell-bind/pgf2-bind.cabal b/src/runtime/haskell-bind/pgf2-bind.cabal
index 877eb0e72..f2496e7eb 100644
--- a/src/runtime/haskell-bind/pgf2-bind.cabal
+++ b/src/runtime/haskell-bind/pgf2-bind.cabal
@@ -22,7 +22,9 @@ library
build-depends: base >=4.3, bytestring >=0.9,
containers
-- hs-source-dirs:
+ default-language: Haskell2010
build-tools: hsc2hs
+
extra-libraries: gu pgf
cc-options: -std=c99
default-language: Haskell2010
@@ -30,7 +32,7 @@ library
executable pgf-shell
main-is: pgf-shell.hs
hs-source-dirs: examples
- build-depends: base, pgf2-bind, containers
+ build-depends: base, pgf2-bind, containers, mtl, lifted-base
default-language: Haskell2010
if impl(ghc>=7.0)
ghc-options: -rtsopts