Higher-order function

In mathematics and computer science, a higher-order function (HOF) is a function that does at least one of the following: * takes one or more functions as arguments (i.e. a procedural parameter, which is a parameter of a procedure that is itself a procedure), * returns a function as its result. In the untyped lambda calculus, all functions are higher-order; in a typed lambda calculus, from which most functional programming languages are derived, higher-order functions that take one function as argument are values with types of the form .

Comment
enIn mathematics and computer science, a higher-order function (HOF) is a function that does at least one of the following: * takes one or more functions as arguments (i.e. a procedural parameter, which is a parameter of a procedure that is itself a procedure), * returns a function as its result. In the untyped lambda calculus, all functions are higher-order; in a typed lambda calculus, from which most functional programming languages are derived, higher-order functions that take one function as argument are values with types of the form .
DifferentFrom
Functor
Has abstract
enIn mathematics and computer science, a higher-order function (HOF) is a function that does at least one of the following: * takes one or more functions as arguments (i.e. a procedural parameter, which is a parameter of a procedure that is itself a procedure), * returns a function as its result. All other functions are first-order functions. In mathematics higher-order functions are also termed operators or functionals. The differential operator in calculus is a common example, since it maps a function to its derivative, also a function. Higher-order functions should not be confused with other uses of the word "functor" throughout mathematics, see Functor (disambiguation). In the untyped lambda calculus, all functions are higher-order; in a typed lambda calculus, from which most functional programming languages are derived, higher-order functions that take one function as argument are values with types of the form .
Is primary topic of
Higher-order function
Label
enHigher-order function
Link from a Wikipage to another Wikipage
Anonymous function
Apply
Boilerplate code
C (programming language)
C++
C++11
Calculus
Callback (computer programming)
Category:Articles with example C code
Category:Articles with example Haskell code
Category:Articles with example JavaScript code
Category:Articles with example Pascal code
Category:Articles with example Python (programming language) code
Category:Articles with example R code
Category:Articles with example Scheme (programming language) code
Category:Functional programming
Category:Higher-order functions
Category:Lambda calculus
Category:Subroutines
Combinatory logic
Computer science
Currying
Defunctionalization
Derivative
Differential operator
Don't repeat yourself
Dynamic memory allocation
Filter (higher-order function)
First class function
First-class function
Fold (higher-order function)
Free Pascal
Function (computer science)
Function (mathematics)
Functional (mathematics)
Functional programming
Function composition (computer science)
Function-level programming
Function overloading
Function pointer
Functor (disambiguation)
Higher order message
Imperative programming
Integral
Interpreter (computing)
Just-in-time compilation
Kappa calculus
Lambda calculus
Macro (computer science)
Mathematics
Method (computer science)
Montague grammar
Object (computer science)
Object-oriented programming
Operator (mathematics)
Parameter (computer science)
Pascal (programming language)
Procedural parameter
Qsort
Record (computer science)
Stack-based memory allocation
Strategy pattern
Subroutine
Tree traversal
Typed lambda calculus
Type system
XACML
SameAs
Fonction d'ordre supérieur
Funció d'ordre superior
Función de orden superior
Funkcja wyższego rzędu
Funktioner av högre ordning
Funktion höherer Ordnung
Funzione di ordine superiore
Hàm thứ bậc cao
Higher-order function
Hogere-ordefunctie
Kõrgemat järku funktsioon
m.01kft1
Q1474542
UTy2
Συναρτήσεις ανώτερου βαθμού
Функция высшего порядка
Функція вищого порядку
تابع مرتبه بالاتر
உயர் வரிசைச் செயலி
高阶函数
高階関数
고차 함수
Subject
Category:Articles with example C code
Category:Articles with example Haskell code
Category:Articles with example JavaScript code
Category:Articles with example Pascal code
Category:Articles with example Python (programming language) code
Category:Articles with example R code
Category:Articles with example Scheme (programming language) code
Category:Functional programming
Category:Higher-order functions
Category:Lambda calculus
Category:Subroutines
WasDerivedFrom
Higher-order function?oldid=1109248673&ns=0
WikiPageLength
24793
Wikipage page ID
244689
Wikipage revision ID
1109248673
WikiPageUsesTemplate
Template:!
Template:Code
Template:Distinguish
Template:Further information
Template:F x%7D %7Bapply $f
Template:I%7D %7Breturn
Template:More footnotes
Template:Reflist
Template:Short description