title: How to write (String): Int function?
body: <p>I'd like to convert an <code>Array[String]</code> to an <code>Array[Int]</code>, using map method. What is the shortest way to get a function of type <code>(String) =&gt; Int</code> to pass as map argument?</p>
  
  <p>I'd prefer convert existing builtin ones like <code>Integer.valueOf</code> in some way.
  A method of argument binding to shorten the construction like <code>def parseInt(s:String) = Integer.parseInt(s, 10)</code> would also be great.</p>