Talk:Functional programming: Difference between revisions

Content deleted Content added
Notification of altered sources needing review #IABot (v1.5.5)
Line 153:
:::Most uses for incrementing indices are made unnecessary in functional programming languages. You would typically use a higher-order function like [[map (higher-order function)|map]], which roughly corresponds to the head of a for-loop, and give it another function, which roughly corresponds to the body of a for-loop. Many other languages have support for these concepts. C++'s <algorithm> library, Java's Stream interface, and Javascript's Array methods all have some kind of map/filter/reduce equivalent, which take a sequence and a function and return a transformed sequence or an aggregate value.
:::It is theoretically possible to allow updates to named variables within the body of a function, as long as the variables are local. The [[D programming language]] allows such updates in its pure functions.[https://dlang.org/spec/function.html#pure-functions] --[[Special:Contributions/96.232.200.75|96.232.200.75]] ([[User talk:96.232.200.75|talk]]) 20:20, 13 June 2017 (UTC)
 
== External links modified ==
 
Hello fellow Wikipedians,
 
I have just modified 2 external links on [[Functional programming]]. Please take a moment to review [https://en.wikipedia.org/w/index.php?diff=prev&oldid=804419999 my edit]. If you have any questions, or need the bot to ignore the links, or the page altogether, please visit [[User:Cyberpower678/FaQs#InternetArchiveBot|this simple FaQ]] for additional information. I made the following changes:
*Corrected formatting/usage for http://www.aquabu.com/2008/02/16/fibonacci-sequence-recursion-in-erlang
*Added archive https://web.archive.org/web/20110629183752/http://www.mactech.com/articles/mactech/Vol.03/03.1/SchemeWindows/index.html to http://www.mactech.com/articles/mactech/Vol.03/03.1/SchemeWindows/index.html
 
When you have finished reviewing my changes, you may follow the instructions on the template below to fix any issues with the URLs.
 
{{sourcecheck|checked=false|needhelp=}}
 
Cheers.—[[User:InternetArchiveBot|'''<span style="color:darkgrey;font-family:monospace">InternetArchiveBot</span>''']] <span style="color:green;font-family:Rockwell">([[User talk:InternetArchiveBot|Report bug]])</span> 22:04, 8 October 2017 (UTC)