Fichas
Functional Programming
Fichas del conjunto (8)
- 1RecursionWhen a function passes itself (which means it is a higher order function)
- 2First Class Objects must be able to?They must be able to:
Appear in expressions
Be assigned to a variable
Be assigned as arguments
Be returned in function calls - 3Higher order functionAny function that either:
Uses a function as an argument
and/or
Returns another function - 4Base CaseNecessary in recursion to prevent the function calling itself forever.
i.e. prevents Stack Overflow Error - 5Recursive CaseThe part of the function that calls itself in recursion
- 6Expression of FunctionsExpressed as
f: A --> B
where f is the function
A is the domain
B is the co-domain - 7Composition of FunctionsCombinations of functions to make new functions.
Done with the o operator - 8Three types of recursive, higher-order functionsMap, Fold, Filter
Información
- Descripción
- A level (4.12) IT Fichas sobre Functional Programming, creado por Ethan Fidzinski el 11/06/2026.
- Creado por
- Ethan Fidzinski
- Visitas
- 0
- Valoración