Print grammar names in translation exercise lists.

This commit is contained in:
bringert
2006-02-27 20:45:54 +00:00
parent e85fb4bf69
commit 57f323e167

View File

@@ -342,7 +342,9 @@ execC co@(comm, opts0) sa@(sh@(st,(h,_,_,_)),a) = checkOptions st co >> case com
warnDiscont opts
let n = optIntOrN opts flagNumber 10
qs <- transTrainList opts (sgr il) (sgr ol) (toInteger n)
returnArg (AString $ foldr (+++++) [] [unlines (s:ss) | (s,ss) <- qs]) sa
let hdr = unlines ["# From: " ++ prIdent il,
"# To: " ++ prIdent ol]
returnArg (AString $ hdr ++++ foldr (+++++) [] [unlines (s:ss) | (s,ss) <- qs]) sa
CMorphoQuiz -> do
warnDiscont opts