From ba1b602053300d982e973f446e44bd7a436c157d Mon Sep 17 00:00:00 2001 From: krasimir Date: Thu, 26 Nov 2009 14:43:31 +0000 Subject: change PGF.categories to return list of identifiers instead of types --- src/GF/Command/Commands.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/GF/Command/Commands.hs') diff --git a/src/GF/Command/Commands.hs b/src/GF/Command/Commands.hs index 228b40c37..73730b050 100644 --- a/src/GF/Command/Commands.hs +++ b/src/GF/Command/Commands.hs @@ -835,7 +835,7 @@ allCommands cod env@(pgf, mos) = Map.fromList [ _ -> fromExprs es prGrammar opts - | isOpt "cats" opts = return $ fromString $ unwords $ map (showType []) $ categories pgf + | isOpt "cats" opts = return $ fromString $ unwords $ map showCId $ categories pgf | isOpt "fullform" opts = return $ fromString $ concatMap (morpho "" prFullFormLexicon) $ optLangs opts | isOpt "missing" opts = return $ fromString $ unlines $ [unwords (showCId la:":": map showCId cs) | la <- optLangs opts, let cs = missingLins pgf la] -- cgit v1.2.3