Skip to content
MathsGenie logo
Open app

Course home

x

Lists, heads, and tails

Lists, heads, and tails

Head-tail decomposition of the list [8, 2, 6, 1], showing repeated splits into head and tail until the empty list is reached

A list is an ordered collection of elements. [4,3,5][4, 3, 5][4,3,5] and [5,3,4][5, 3, 4][5,3,4] are different lists because order matters.

Lists in functional programming Lesson

  1. A Level
  2. /Computer Science
  3. /Lists in functional programming

Step-by-step lessons covering AQA A Level Computer Science Lists in functional programming for A Level Computer Science. Each lesson works through exam-style questions.

Lessons