<?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="Standard ML - Page 12 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=Standard_ML&amp;p=11">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Standard_ML&amp;p=13">3.Next</a>
</p>

<p>Note that a type synonym cannot be recursive; datatypes are necessary to define recursive constructors. (This is not at issue in this example.)</p>

<p><big>Pattern matching</big></p>
<p>Patterns are matched in the order in which they are defined. <a href="page.php?w=C_%28programming_language%29">C</a> programmers can use <a href="page.php?w=tagged_union">tagged union</a>s, dispatching on tag values, to do what ML does with datatypes and pattern matching. Nevertheless, while a C program decorated with appropriate checks will, in a sense, be as robust</p><p>
<a accesskey="1" href="page.php?w=Standard_ML&amp;p=11">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Standard_ML&amp;p=13">3.Next</a>
</p>

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

</card>
</wml>
