KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
The standard SML library function Int.toString prefixes negative numbers with ~ instead of - . Is there a library function to use - instead, short of writing fun i2s i = if i < 0 then "-" ^ Int.toString (~i) else Int.toString i
Tags (comma-separated)
Save Edits
Cancel