1 // The last character of the program is an extra closing parenthesis
2 data List a = Nil | Cons a (List a)
7 reverse l = reverseAux Nil l
9 reverseAux accum Nil = accum
10 reverseAux accum (Cons h t) = reverseAux (Cons h accum) t
12 main = first (reverse l)
14 l = Cons 1 (Cons 2 (Cons 3 Nil)))
16 14:37-14:38: No corresponding opening parenthesis for ')'.