<?xml version="1.0" encoding='utf-8'?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="card1" title="Pure function - Page 3 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=pure_function&amp;p=2">1.Previous</a><br />
<a accesskey="3" href="page.php?w=pure_function&amp;p=4">3.Next</a>
</p>
<p>as they lack the above property 1:</p>

<p>The following C++ functions are impure as they lack the above property 2:</p>

<p>The following C++ functions are impure as they lack both the above properties 1 and 2:</p>

<p><big> I/O in pure functions </big></p>
<p>I/O is inherently impure: input operations undermine <a href="page.php?w=referential_transparency">referential transparency</a>, and output operations create side effects. Nevertheless, there is a sense in which a function can perform input or output and still be pure, if the sequence of operations</p><p>
<a accesskey="1" href="page.php?w=pure_function&amp;p=2">1.Previous</a><br />
<a accesskey="3" href="page.php?w=pure_function&amp;p=4">3.Next</a>
</p>

<do type="prev" label="Search">
        <go href="search.wml"/>
</do>

</card>
</wml>
