title: How to convert negative integers to strings in SML with minus sign instead of tilde?
body: <p>The standard SML library function Int.toString prefixes negative numbers with <code>~</code> instead of <code>-</code>.  Is there a library function to use <code>-</code> instead, short of writing</p>
  
  <pre><code>fun i2s i =
      if i &lt; 0 then "-" ^ Int.toString (~i) else Int.toString i
  </code></pre>