fixed missing do in the Haskell binding

This commit is contained in:
krasimir
2015-07-12 15:37:45 +00:00
parent 99a0b5a1d8
commit 8b3d6059c6

View File

@@ -112,7 +112,7 @@ generateAll p cat =
unsafePerformIO $
do genPl <- gu_new_pool
exprPl <- gu_new_pool
enum <- withCString cat $ \cat ->
enum <- withCString cat $ \cat -> do
exn <- gu_new_exn genPl
pgf_generate_all (pgf p) cat exn genPl exprPl
genFPl <- newForeignPtr gu_pool_finalizer genPl