<?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="Reference (computer science) - Page 27 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=reference_(computer_science)&amp;p=26">1.Previous</a><br />
<a accesskey="3" href="page.php?w=reference_%28computer_science%29&amp;p=28">3.Next</a>
</p>
<p>equivalent to a mutable array of length 1.</p>

<p>To preserve safety and efficient implementations, references cannot be <a href="page.php?w=Type_conversion">type-cast</a> in ML, nor can pointer arithmetic be performed. In the functional paradigm, many structures that would be represented using pointers in a language like C are represented using other facilities, such as the powerful <a href="page.php?w=algebraic_datatype">algebraic datatype</a> mechanism. The programmer is then able to enjoy certain properties (such as the guarantee of  immutability)</p><p>
<a accesskey="1" href="page.php?w=reference_(computer_science)&amp;p=26">1.Previous</a><br />
<a accesskey="3" href="page.php?w=reference_%28computer_science%29&amp;p=28">3.Next</a>
</p>

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

</card>
</wml>
