From 324e5da82db7d9485a34e36a28d561c43f67cd96 Mon Sep 17 00:00:00 2001 From: Aadhavan Srinivasan <aadhavan@twomorecents.org> Date: Tue, 3 Jun 2025 11:19:42 -0400 Subject: [PATCH] Use new definition for lefmostLongestParse --- app/Main.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Main.hs b/app/Main.hs index 2c02db0..957f9ba 100644 --- a/app/Main.hs +++ b/app/Main.hs @@ -23,5 +23,5 @@ main = do fileContents <- case args of [] -> getContents x : _ -> readFile x - let res = fst $ leftmostLongestParse parseDocument fileContents + let res = leftmostLongestParse parseDocument fileContents print res