From 5a37660811d2b23439a542c70cd09bdda9418a1a Mon Sep 17 00:00:00 2001 From: Krasimir Angelov Date: Fri, 1 Sep 2017 08:46:52 +0200 Subject: added function treeProbability in the Haskell binding --- src/compiler/GF/Command/Commands2.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/compiler/GF/Command') diff --git a/src/compiler/GF/Command/Commands2.hs b/src/compiler/GF/Command/Commands2.hs index 2621bc9a4..8a722824e 100644 --- a/src/compiler/GF/Command/Commands2.hs +++ b/src/compiler/GF/Command/Commands2.hs @@ -650,7 +650,7 @@ pgfCommands = Map.fromList [ Left msg -> error msg Right (e,ty) -> do putStrLn ("Expression: "++PGF2.showExpr [] e) putStrLn ("Type: "++PGF2.showType [] ty) - -- putStrLn ("Probability: "++show (H.probTree pgf e)) + putStrLn ("Probability: "++show (treeProbability pgf e)) return void _ -> do putStrLn "a single function name or category name is expected" return void, -- cgit v1.2.3