Section 12 Chapter 71 - Lists in Functional Programming Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

List

A

A collection of elements of a similar type

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

Makeup of a list

A

A head and a tail

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

Head of a list

A

The first element of the list

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

Tail of a list

A

All of the elements of the list except the first one (it is a list itself)

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

Can a haskell list be empty

A

yus

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