diff options
author | Tom Smeding <tom@tomsmeding.com> | 2024-02-19 23:21:49 +0100 |
---|---|---|
committer | Tom Smeding <tom@tomsmeding.com> | 2024-02-19 23:21:49 +0100 |
commit | 91b62660cd522ce59ba1294eb2e6582e92f0a264 (patch) | |
tree | 90b9b7d9a11309925b5b9ea6c7ae11fffa1614c6 /examples | |
parent | d744fa7ae5e638c1ca16f400a49633a705208ce4 (diff) |
Seems like a working parser
Diffstat (limited to 'examples')
-rw-r--r-- | examples/test1.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/test1.hs b/examples/test1.hs index 7bd2ee3..2a3a834 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) + go (x:xs) acc go xs (x:acc) 7 -> in go l [] kaas = 42 |