Content deleted Content added
→Availability: editing for style |
No edit summary |
||
Line 1:
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 the language supports constructing new functions during the execution of a program, storing them in data structures, passing them as arguments to other functions, and returning them as the values of other functions. This concept doesn't cover any means external to the language and program ([[metaprogramming]]), such as invoking a [[compiler]] or an [[eval]] function to create a new function.
|