summaryrefslogtreecommitdiff
path: root/src/compiler/GF/Command/Commands.hs
diff options
context:
space:
mode:
authorra.monique <ra.monique@gmail.com>2010-12-06 10:15:14 +0000
committerra.monique <ra.monique@gmail.com>2010-12-06 10:15:14 +0000
commit7fba8c338d04777c82a2d04c4bc82a4da0e86659 (patch)
treef9449ecd9dd3243b786fad377981ec84c9c3a7c8 /src/compiler/GF/Command/Commands.hs
parent00111b10c193ccca6c37b356bf2d4ce67cb69975 (diff)
no more IO in the syntax to API translator
Diffstat (limited to 'src/compiler/GF/Command/Commands.hs')
-rw-r--r--src/compiler/GF/Command/Commands.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/GF/Command/Commands.hs b/src/compiler/GF/Command/Commands.hs
index c82ee79af..c9f4b4945 100644
--- a/src/compiler/GF/Command/Commands.hs
+++ b/src/compiler/GF/Command/Commands.hs
@@ -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