Scala : => parameters : <p>What does the (code: => Unit) parameter do in this scala function from the scala documentation:</p>

<pre><code>def unless(exp: Boolean)(code: =&gt; Unit): Unit = if (!exp) code
unless(x &lt; 5) {
  println("x was not less than five")
}
</code></pre>

<p><a href="http://docs.scala-lang.org/style/declarations.html" rel="nofollow noreferrer">Link</a></p>
