Content deleted Content added
Line 79:
Here the call to <code>twice(x -> x + 1)</code> returns a function that will increment its argument two times. Consequently, the result of the entire expression is <code>0 + 1 + 1 = 2</code>.
=== Parametric Polymorphism ===
<syntaxhighlight lang="Scala">
...
</syntaxhighlight>
=== Extensible Records ===
|