From 78ffb5ed5fbda230675310b37f798c500a13ef11 Mon Sep 17 00:00:00 2001 From: Tom Smeding Date: Sun, 18 Feb 2024 17:14:11 +0100 Subject: Parser work --- examples/test1.hs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'examples') diff --git a/examples/test1.hs b/examples/test1.hs index 6acbeda..7bd2ee3 100644 --- a/examples/test1.hs +++ b/examples/test1.hs @@ -10,7 +10,9 @@ g :: Int -> ((Int -> Int) -> (Int -> Int)) -> Int g y ding = ding f (y - 2) + 7 reverse :: [a] -> [a] -reverse = +reverse l = let go [] acc = acc go (x:xs) acc = go xs (x:acc) - in \l -> go l [] + in go l [] + +kaas = 42 -- cgit v1.2.3-70-g09d2