标签: smlnj
我只是想将char更改为int并返回int。
答案 0 :(得分:1)
您可能需要Char.ord(Basis library page)。
Char.ord
例如,Char.ord #"a"
Char.ord #"a"