Content deleted Content added
→Does Haskell allow functions as keys in a map?: Python might, for a different imterpretation of equals. |
|||
Line 292:
* Hope that the consensus goes your way.
- Hardly rigourous but very human. --[[User:Paddy3118|Paddy]] ([[User talk:Paddy3118|talk]]) 08:54, 17 February 2011 (UTC)
: The most commons definition you'll find in the literature is that functions can be passed as arguments (higher-order functions, downwards funarg problem) and returned and stored as values (upwards funarg problem).
: Now I've thought about it bit more, related to the your question is the function equality (intentional equality vs. extensional equality vs. ad-hod equality). Its not directly related to first-classness, but as you raised it in this context it might be useful to discuss in the article. —''[[User:Ruud Koot|Ruud]]'' 10:01, 17 February 2011 (UTC)
|