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.
我正在学习机器学习。有人可以帮助我了解 ML 中的基本输入/输出功能吗?我只想从控制台读取输入并将其存储在一个变量中并在我的 ML 程序中使用它。
请帮忙。如果你能指出我的一些例子,那也太棒了!!!谢谢你。
let val str = valOf (TextIO.inputLine TextIO.stdIn) in (* do stuff here *) end