summaryrefslogtreecommitdiff
path: root/src/runtime
diff options
context:
space:
mode:
authoraarne <aarne@chalmers.se>2010-12-06 09:53:04 +0000
committeraarne <aarne@chalmers.se>2010-12-06 09:53:04 +0000
commit00111b10c193ccca6c37b356bf2d4ce67cb69975 (patch)
treecdff75edf7fd7542122304172583f835cbb3e4a4 /src/runtime
parent6268c2d7d9c87720dfcecf9dde12fb7443bf3200 (diff)
vt -api with conversion to resource API names
Diffstat (limited to 'src/runtime')
-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