Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我们如何评估 SML 中的 Char 函数,例如:
succ #"A"; 应该给我B吧?
succ #"A";
但它给了我错误“未绑定的值标识符:成功”
您必须加载Char库才能使用其功能。将其加载到全局范围内:
Char
open Char; succ #"A";
或者调用带有库名的函数:
Char.succ #"A";