summaryrefslogtreecommitdiff
path: root/src/runtime/haskell-bind/test.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/haskell-bind/test.hs')
-rw-r--r--src/runtime/haskell-bind/test.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/haskell-bind/test.hs b/src/runtime/haskell-bind/test.hs
index 16e7ff7cb..26836445f 100644
--- a/src/runtime/haskell-bind/test.hs
+++ b/src/runtime/haskell-bind/test.hs
@@ -5,8 +5,8 @@ main :: IO ()
main = do
pgf <- readPGF "/Users/john/repositories/GF/contrib/foods/Foods.pgf"
let Just concr = M.lookup "FoodsEng" (languages pgf)
- let pr = complete concr (startCat pgf) "this" "wi" Nothing
+ let pr = complete concr (startCat pgf) "" "th" Nothing
case pr of
- ParseOk x -> print (head x)
+ ParseOk x -> print x
ParseFailed _ _ -> putStrLn "parse failed"
ParseIncomplete -> putStrLn "input incomplete"