mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-22 11:19:32 -06:00
no more IO in the syntax to API translator
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user