I opened a file in "SML of New Jersey" with the following command: use "c:\\work.sml"
, and it gives me the next problem:
[openning c:\\work5.sml]
[use failed: Io: openln failed on "c:\\work.sml", Win32TextPrimIO:openRd: failed]
uncaught Exception error
raised at:../complier/TopLevel/interact.sml:24.14-24.28
In work.sml, I have just this one line:
- datatype ’a seq = Nil | Cons of ’a * (unit -> ’a seq);
use "c:\work.sml";
oruse "c:\\work.sml";
. And is that the actual error message you get? Because the message first calls the file "work5.sml", but then goes on talking about "work.sml". Also it misspells "compiler". Please copy and paste your actual use command and the actual error message (if you typeduse "c:\\work5.sml";
and the file is called "work.sml" without the 5, that's the error). – sepp2k