Talk:Anonymous function
Computer science Start‑class | |||||||||||||||||
|
To-do list for Anonymous function:
|
Lambda in Java
Java 8 now supports lambdas, so it should be added to this page.
Typical usage summary?
The article might be more comprehensible if it introduced anonymous functions as *parameters* to named function. — Preceding unsigned comment added by 68.50.114.83 (talk) 22:11, 21 November 2011 (UTC)
Full vs. Some support?
I wasn't sure what the difference was between "Full" and "Some" support. Added Perl as having "Full" support, since it can do the five examples: sort, map, grep, curry, reduce ('reduce' is in List::Util). And, it has fully anonymous functions. Benizi (talk) 00:16, 20 February 2008 (UTC)
Expert tag and merge discussion
See Talk:First-class_function#Merge_anonymous_function_here. Pcap ping 21:40, 20 August 2009 (UTC)
Section 3.14 Python
Ha! Unexpected humor! Πthon is section 3.14.
Sorry, I can't help myself. Unimath (talk) 01:49, 25 December 2010 (UTC)
Ubiquitous in languages with first-class functions... such as Haskell?
This sentence in the introduction struck me as odd:
- Anonymous functions are convenient to pass as an argument to a higher-order function and are ubiquitous in languages with first-class functions such as Haskell. [emphasis mine]
Why is Haskell used as an example of a language where anonymous functions are convenient–or better yet—why is there an example language at all? Anonymous functions aren't unique to Haskell are there are other more (historically) notable programming languages that use them. —BiT (talk) 02:20, 22 November 2011 (UTC)
PHP 5!
in newer versions of PHP it is possible to define anonymous functions: PHP-Manual: Anonymous Functions. so please update that paragraph. --Feudiable (talk) 20:51, 5 January 2012 (UTC)
Why not use the same example for all languages?
Ruby for instance has a completely different example, this makes comparing syntaxes dificuilt. — Preceding unsigned comment added by 116.193.144.2 (talk) 05:08, 8 March 2012 (UTC)
merge from lambda (programming)
Someone put a merge tag on lambda (programming) back in Oct 2011. Discuss this proposal here.
- Yes, merge. Actually, a redicrect may be enough, this page is clearly more complete. linas (talk) 22:15, 8 June 2012 (UTC)
- Merge. Lambda just means "this is an anonymous function" anyway. There's really no reason to have anything besides a line on Lambda (disambiguation) that says that in programming it means anonymous function, and then link to that. Dtm1234 (talk) 21:29, 27 June 2012 (UTC)