aboutsummaryrefslogtreecommitdiff
path: root/examples/test1.hs
diff options
context:
space:
mode:
authorTom Smeding <tom@tomsmeding.com>2024-02-18 17:14:11 +0100
committerTom Smeding <tom@tomsmeding.com>2024-02-18 17:15:50 +0100
commit78ffb5ed5fbda230675310b37f798c500a13ef11 (patch)
tree893dd8aa1a451e88958993d0b4b0f5ce2d5b124b /examples/test1.hs
parent720372e3deac26a064fb1c711db2ccf54e655fab (diff)
Parser work
Diffstat (limited to 'examples/test1.hs')
-rw-r--r--examples/test1.hs6
1 files changed, 4 insertions, 2 deletions
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