summaryrefslogtreecommitdiff
path: root/src/runtime/haskell/PGF
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/haskell/PGF')
-rw-r--r--src/runtime/haskell/PGF/ToApi.hs6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/runtime/haskell/PGF/ToApi.hs b/src/runtime/haskell/PGF/ToApi.hs
index 41ccb2248..e22132c34 100644
--- a/src/runtime/haskell/PGF/ToApi.hs
+++ b/src/runtime/haskell/PGF/ToApi.hs
@@ -1,5 +1,5 @@
module PGF.ToAPI
- (stringToAPI,exprToAPI)
+ (stringToAPI,exprToAPI,exprToAPIIO)
where
import PGF.Expr
@@ -14,6 +14,10 @@ import qualified Data.Map as Map
import PGF.Signature
+--- this will be changed
+exprToAPIIO :: Expr -> IO String
+exprToAPIIO = exprToAPI -- return . exprToAPI
+
-- intermediate structure for representing the translated expression
data APIfunc = BasicFunc String | AppFunc String [APIfunc] | NoAPI