From b0c81ee7def783037b514af9fdeab06f7e3bdb13 Mon Sep 17 00:00:00 2001 From: Tom Smeding Date: Mon, 19 Feb 2024 23:32:09 +0100 Subject: Show source line in parse error --- examples/test1.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples') diff --git a/examples/test1.hs b/examples/test1.hs index 2a3a834..ea09465 100644 --- a/examples/test1.hs +++ b/examples/test1.hs @@ -12,7 +12,7 @@ g y ding = ding f (y - 2) + 7 reverse :: [a] -> [a] reverse l = let go [] acc = acc - go (x:xs) acc go xs (x:acc) 7 -> - in go l [] + go (x:xs) acc = go xs (x:acc) + in (go l [] kaas = 42 -- cgit v1.2.3-70-g09d2