title: Is Int an Ordered type in Scala?
body: <p>Well, it doesn't seem to be. The following code:</p>
  
  <pre><code>  def inBounds[T &lt;: Ordered[T]](lowerBound: T, value: T, upperBound: T): Boolean =
      lowerBound &lt;= value &amp;&amp; value &lt;= upperBound
  </code></pre>
  
  <p>Gives me an error at compilation time: </p>
  
  <pre><code>Error:(55, 13) inferred type arguments [Int] do not conform to method inBounds's 
  type parameter bounds [T &lt;: Ordered[T]]
  </code></pre>
  
  <p>But... <code>Int</code> has to be "<code>Ordered</code>" somehow. Am I missing some <code>import</code> for some implicits?</p>