我对SML/programming/emacs/所有的东西都是新手,当我做coursera课程的第一个家庭作业时,我有关于这个错误的老故事:
[opening is_older.sml]
[use failed: Io: openIn failed on "is_older.sml", Win32TextPrimIO:openRd: failed]
uncaught exception Error
raised at: ../compiler/TopLevel/interact/interact.sml:24.14-24.28我尝试了论坛上发现的所有可能的东西,主题,像:路径,检查任何拼写错误的sml文件的名称,编码-我放了几个代码,储蓄等我没有做的唯一一件事是自定义Emacs,我没有验证SML-模式是否工作正常,因为2天前Emacs和SML/NJ已安装。
我写的最后一段代码-但无论如何都不重要,因为哪段代码不重要,我也有同样的错误-是这样的:
fun is_older ((x1,y1,z1), (x2,y2,z2)) =
if z1 < z2
then true
else
if x1 = x1 andalso y1 = y2 andalso z1 < z2
then true
else false;发布于 2014-10-17 14:49:07
[use failed: Io: openIn failed on "is_older.sml", Win32TextPrimIO:openRd: failed]这听起来像是它根本没有找到这个文件。也许你拼错了名字,或者它在不同的目录中?
https://stackoverflow.com/questions/26415657
复制相似问题