Functional Programming

Functional Programming

memorize.aimemorize.ai (lvl 286)
Section 1

Preview this deck

Partial function application

Front

Star 0%
Star 0%
Star 0%
Star 0%
Star 0%

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Active users

0

All-time users

0

Favorites

0

Last updated

6 years ago

Date created

Mar 14, 2020

Cards (19)

Section 1

(19 cards)

Partial function application

Front

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

Back

Head

Front

The first element in a list.

Back

Reduce/fold function

Front

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

Back

Empty list

Front

A list with no elements in it.

Back

First-class object

Front

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

Back

Tail

Front

Every element in a list apart from the head.

Back

Function composition

Front

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

Back

Higher order function

Front

A function that takes a function as its inputs or creates a function as its output.

Back

Identifier

Front

The name of a list.

Back

Procedural Programming Languages

Front

Languages where the programmer specifies the steps that must be carried out in order to achieve a result.

Back

Domain

Front

A set of data of the same type which are the inputs of a function.

Back

Filter function

Front

A method of creating a subset based on specified criteria.

Back

Codomain

Front

The set of values from which the outputs of a function must be drawn.

Back

Function Type

Front

Refers to the way in which the expression is created.

Back

Declarative Programming Languages

Front

Languages that declare or specify what properties a result should have, e.g. results will be based on functions.

Back

Functional Programming Paradigm

Front

A language where each line of code is made up of calls to a function, which in turn may be made up of other functions, or result in a value.

Back

Map function

Front

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

Back

List

Front

A collection of data items of the same type.

Back

Function application

Front

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

Back