vt -api with conversion to resource API names

This commit is contained in:
aarne committed 2010-12-06 09:53:04 +00:00
1 parent 6268c2d7d9
commit 00111b10c1
2 files changed
+13 -2

No files matched your search

+5 -1
View File
@@ -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