Yeah it’s the cons operator so it matches the first element (head) of the list and next elements (tail). It would need a reverse and reverse back to work correctly.
reverse (addup (reverse a) (reverse b))
reverse (addup (reverse a) (reverse b))
No comments yet.