我试图使用SML/NJ,我使用sml < source.sml来运行代码,但是它输出了太多的信息。例如,这是source.sml | fac n = n * fac (n - 1)print(Int.toString(r));Standard ML of New Jersey v110.77 [built: Tue Mar 10 07:0
我在SML/NJREPL中运行了一个最小的TCP服务器,我想知道如何在键盘中断上优雅地关闭侦听器套接字。Standard ML of New Jersey v110.76 [built: Thu Feb 19 00:37:13 2015][opening test.sml\n"; handle Interrupt => Socket.close s(然后在REPL中