First-class function: Difference between revisions

Content deleted Content added
propose merge
SmackBot (talk | contribs)
m Date/fix maintenance tags
Line 1:
{{Mergeto|First-class object|date=February 2007}}
{{mergefromMergefrom|Function literal|date=March 2007}}
 
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.