Basics of Functional Programming (AQA A-Level Computer Science): Flashcards
📚Flashcards
Practise the cards
10 cards from this deck
ShowHide
Practise the cards
10 cards from this deck
Functional programming paradigm
Functional programming paradigm
Programs built primarily through function calls
Core principle of functional programming
Core principle of functional programming
Same input always produces same output
First-class object
First-class object
Object passed as argument or returned as result
Higher order function
Higher order function
Function that accepts another function as argument
Map function purpose
Map function purpose
Applies a function to every element in a list
Domain of a function
Domain of a function
Set of inputs for a function
Codomain of a function
Codomain of a function
Set of values from which outputs are drawn
Function application
Function application
Process of calculating function's result with input data
Partial function application
Partial function application
Passing fewer than complete number of arguments
Function composition
Function composition
Combining two or more functions together
