 <p>If you use a val, you're not allowed to assign it a new value, so in your code example above, if you switch the third line with</p> <pre><code>val fa2 = fa.:+(ra) </code></pre> <p>then fa can be a val.</p>