summaryrefslogtreecommitdiff
path: root/gf.cabal
diff options
context:
space:
mode:
authorhallgren <hallgren@chalmers.se>2012-09-25 19:08:33 +0000
committerhallgren <hallgren@chalmers.se>2012-09-25 19:08:33 +0000
commit43d5016996905cc4fd325ecc739d64eb29aa0aa1 (patch)
tree884685ebebbb2c6966d84bbc2c532232e88b91f3 /gf.cabal
parent1adc0ed9f7ef98480f441474353eb39293d988c7 (diff)
Use the SIO monad in the GF shell
+ The restrictions on arbitrary IO when GF is running in restricted mode is now enforced in the types. + This hopefully also solves an intermittent problem when accessing the GF shell through the web API provided by gf -server. This was visible in the Simple Translation Tool and probably caused by some low-level bug in the GHC IO libraries.
Diffstat (limited to 'gf.cabal')
-rw-r--r--gf.cabal3
1 files changed, 2 insertions, 1 deletions
diff --git a/gf.cabal b/gf.cabal
index ae1d73774..7b2a49c89 100644
--- a/gf.cabal
+++ b/gf.cabal
@@ -112,7 +112,8 @@ executable gf
parallel
ghc-options: -threaded
if flag(server)
- build-depends: httpd-shed, network, silently, utf8-string, json, cgi
+ build-depends: httpd-shed, network, utf8-string, json, cgi
+ -- ,silently
cpp-options: -DSERVER_MODE
other-modules: GFServer
hs-source-dirs: src/server src/server/transfer src/example-based