<?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="Switch statement - Page 29 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=switch_statement&amp;p=28">1.Previous</a><br />
<a accesskey="3" href="page.php?w=switch_statement&amp;p=30">3.Next</a>
</p>
<p>is switch-like functionality used in many <a href="page.php?w=functional_programming">functional programming</a> languages.</p>

<p><big>History</big></p>
<p>In his 1952 text Introduction to Metamathematics, <a href="page.php?w=Stephen_Kleene">Stephen Kleene</a> formally proves that the case function (the if-then-else function being its simplest form) is a <a href="page.php?w=primitive_recursive_function">primitive recursive function</a>, where he defines the notion "definition by cases" in the following manner:</p>

<p>Kleene provides a proof of this</p><p>
<a accesskey="1" href="page.php?w=switch_statement&amp;p=28">1.Previous</a><br />
<a accesskey="3" href="page.php?w=switch_statement&amp;p=30">3.Next</a>
</p>

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

</card>
</wml>
