12.3 Lists in functional programming Flashcards

1
Q

What does the append function do?

A

Add an item to the end of the list

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
1
Q

What is head-tail representation?

A

A method of representing a list in two parts: a head which is the first element and a tail which is itself a list of all the other elements.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly