use putStrLn instead of print to dump error messages. This avoids the double quotes

This commit is contained in:
krasimir
2008-04-25 15:49:53 +00:00
parent 955a5db693
commit 46c9a500df

View File

@@ -20,7 +20,7 @@ importGrammar mgr0 opts files =
case res of
Ok gfcc2 -> do let gfcc3 = unionGFCC (gfcc mgr0) gfcc2
return $ MultiGrammar gfcc3
Bad msg -> do print msg
Bad msg -> do putStrLn msg
return mgr0
".gfcc" -> do
gfcc2 <- mapM file2gfcc files >>= return . foldl1 unionGFCC