er">genericargs</span><span class="Punctuation">)</span>

<span class="Comment"># C/Java way</span>
<span class="Comment"># Declare a type</span>
<span class="Keyword">type</span>
    <span class="Identifier">SomeObject</span> <span class="Operator">=</span> <span class="Keyword">object</span> <span class="Keyword">of</span> <span class="Identifier">RootObj</span>
        <span class="Identifier">SomeEvent</span><span class="Punctuation">:</span> <span class="Identifier">EventHandler</span>
<span class="Key