Fundamentals of Functional Programming Flashcards

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

First-Class Object

A

Any object that can be used as an argument or result of a functional call

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

High Order Function

A

A function that takes a function as its inputs or created a function as its outputs.

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

Function Application

A

The process of calculating the result of a function by passing it some data to produce a result

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

Partial Application (of a function)

A

The process of applying a function by creating an intermediate function by fixing some of the arguments to the function.

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

Function Composition

A

Combining two or more functions together to create more complex functions.

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

Map Function

A

A function that generates an output list from an input list by applying a function to each element in the input list.

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

Filter Function

A

A method of creating a subset based on a specified critera.

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

Reduce/fold function

A

A method of reducing a list to a single element by combining the elements using a function

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

Tail

A

Every element in a list apart from the head (think of it as a snake)

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

Head

A

The first element in a list

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