First-class function: Difference between revisions

Content deleted Content added
Cconnett (talk | contribs)
m First class function has been moved to First-class function.
Integrated first class objects into definition (rather than just see also)
Line 1:
In [[computer science]], a '''first class function''' is a [[programming language]] construct that allows a [[function (programming)|function]] to be treated inas manya respects like ordinary data objects[[First-class_object]]. In particular, a first class function can be created during the execution of a program, stored in a data structure, passed as an argument to another function, and, in some programming languages, modified using the data processing facilities of the language.
 
Support for first class functions is widely considered to be a required feature for [[functional programming language]]s. [[Lisp programming language|Lisp]], [[Scheme programming language|Scheme]], [[ML programming language|ML]], and [[Haskell programming language|Haskell]] are examples of functional programming languages that support first class functions.