1
0
forked from GitHub/gf-core

no more IO in the syntax to API translator

This commit is contained in:
ra.monique
2010-12-06 10:15:14 +00:00
parent 00111b10c1
commit 7fba8c338d
2 changed files with 54 additions and 60 deletions

View File

@@ -854,7 +854,7 @@ allCommands env@(pgf, mos) = Map.fromList [
then return $ fromString $ unlines $ map (tree2mk pgf) es
else if isOpt "api" opts
then do
ss <- mapM exprToAPIIO es
let ss = map exprToAPI es
mapM_ putStrLn ss
return void
else do