Talk:Closures/Value capture: Difference between revisions

m
no edit summary
m (whoops values are now squared.)
mNo edit summary
Line 27:
::Should the first a() give 1, b() give 4, and the second a() give 9? [[User:Markhobley|Markhobley]] 13:42, 22 July 2011 (UTC)
 
Would this read better as "Create a list of up to 10 simple functions (anonymous functions are encouraged), so that the function returns the square of its parametric position within the list."? [[User:Markhobley|Markhobley]] 13:52, 22 July 2011 (UTC)