Difference between revisions of "Pure function"

From CS 61A Wiki
Redirect page
Jump to: navigation, search
[unchecked revision][checked revision]
m (sources)
(Redirected page to Function#Pure function)
(3 intermediate revisions by one user not shown)
Line 1: Line 1:
A '''pure function''' just returns a value. Given the same arguments, it returns the same value. An example is the <code>add</code> function.
#REDIRECT [[Function#Pure function]]
== Sources ==
* http://inst.eecs.berkeley.edu/~cs61a/sp14/slides/02_6pp.pdf
* http://inst.eecs.berkeley.edu/~cs61a/sp14/disc/discussion01.pdf

Latest revision as of 15:54, 31 May 2014