&gt; Second function requires parsing two fragments of code.<p>foo1 is used to illustrate a point not that you&#x27;d name functions like that. The whole thing would be probably:<p><pre><code>   foo(bar) -&gt; void;
   foo(_) -&gt; undefined.
</code></pre>
I don&#x27;t know, I see that better than the case statement.