First-class function: Difference between revisions

Content deleted Content added
propose merge
Line 1:
{{Mergeto|First-class object|date=February 2007}}
{{mergefrom|Function literal}}
 
In [[computer science]], a [[programming language]] is said to support '''first-class functions''' if it treats [[function (programming)|function]]s as [[first-class object]]s. Specifically, this means that functions can be created during the execution of a program, stored in data structures, passed as arguments to other functions, and returned as the values of other functions.