My program:
val a = chr 65 : char
val b = Char.chr 65: char
val _ = print (Char.toString a)
val _ = print (Char.toString b)
Output:
AA
Lines 1 and 2 show that both chr and Char.chr work.
Is there a difference between the two? And which one is conformant to Standard ML 97 and why?