home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!sun-barr!ames!agate!anarres.CS.Berkeley.EDU!bh
- From: bh@anarres.CS.Berkeley.EDU (Brian Harvey)
- Newsgroups: comp.lang.scheme
- Subject: Re: wots going on here!?
- Date: 1 Sep 1992 04:20:08 GMT
- Organization: University of California at Berkeley
- Lines: 25
- Message-ID: <17ur1oINNem6@agate.berkeley.edu>
- References: <17timvINN7b8@agate.berkeley.edu> <17tn1uINNkij@early-bird.think.com> <JINX.92Aug31170432@chamarti.ai.mit.edu>
- NNTP-Posting-Host: anarres.cs.berkeley.edu
-
- jinx@zurich.ai.mit.edu writes:
- >BTW, the current version (in house) of MIT Scheme prints the
- >following:
- >
- >(bar 23)
- >;The object #[undefined-value] is not applicable.
- >;To continue, call RESTART with an option number:
- >; (RESTART 2) => Specify a procedure to use in its place.
- >; (RESTART 1) => Return to read-eval-print level 1.
-
- I think it would be a major improvement to say "not a procedure" or
- "not a function" [I am not religious about this] instead of
- "not applicable."
-
- But the *really* right error message would be something like
- "IF didn't return a value" (or COND didn't, or whatever it is).
- The fact that the non-value was used in function position isn't
- really what's wrong in this situation.
-
- Btw, is "read-eval-print level 1" the level I was at before the
- error? Putting it another way, what level am I at after getting
- this message? That's another unclear thing about the message.
- I think it would be better if that option were called either
- "evaluate expressions with local variables available" or else
- "cancel this computation, return to toplevel" -- whichever it means.
-