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 86bc73cb03
commit 1e5a0c9d9e
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