aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-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