Study resource
Lists in functional programming common mistakes
Study Lists in functional programming with curriculum-aligned Common Mistakes resources, practice links, and exam-focused support.
At a glance
common mistakes
Resource type
Topic
Lists in functional programming
AqaA LevelComputer ScienceFundamentals of functional programming
Common mistakes
Confusing prepend and append
Using xs + [item] when the question asks for the item to be placed at the front of the list.
Fix itPrepend with [item] + xs. Append with xs + [item]. Check the position of the new item in the resulting list.
Related topics
