aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/test1.hs4
1 files changed, 2 insertions, 2 deletions
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