<?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="Ceylon (programming language) - Page 11 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=Ceylon_(programming_language)&amp;p=10">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Ceylon_%28programming_language%29&amp;p=12">3.Next</a>
</p>
<p>elements, the result will be a stream of <code>&lt;Integer|Null&gt; & Object</code> elements, which simplifies to <code>Integer</code>.</p>

<p><big> Functions </big></p>
<p>Similarly to many modern languages, Ceylon supports <a href="page.php?w=first_class_function">first class function</a>s and <a href="page.php?w=higher_order_function">higher order function</a>s, including function types and <a href="page.php?w=anonymous_function">anonymous function</a>s</p>

<p><syntaxhighlight lang="ceylon">// A top-level higher-order function using block syntax (not associated with any user-created classes)String process(String text, String transformString(String toChange)) {    return transformString(text);}</syntaxhighlight></p><p>
<a accesskey="1" href="page.php?w=Ceylon_(programming_language)&amp;p=10">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Ceylon_%28programming_language%29&amp;p=12">3.Next</a>
</p>

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

</card>
</wml>
