home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / lang / scheme / 2104 < prev    next >
Encoding:
Internet Message Format  |  1992-08-29  |  2.0 KB

  1. Path: sparky!uunet!wupost!sdd.hp.com!think.com!snorkelwacker.mit.edu!ai-lab!zurich.ai.mit.edu!jinx
  2. From: jinx@zurich.ai.mit.edu (Guillermo J. Rozas)
  3. Newsgroups: comp.lang.scheme
  4. Subject: Re: wots going on here!?
  5. Message-ID: <JINX.92Aug29101908@chamarti.ai.mit.edu>
  6. Date: 29 Aug 92 14:19:08 GMT
  7. References: <1992Aug29.092113.12007@lugb.latrobe.edu.au>
  8. Sender: news@ai.mit.edu
  9. Reply-To: jinx@zurich.ai.mit.edu
  10. Organization: M.I.T. Artificial Intelligence Lab.
  11. Lines: 37
  12. In-reply-to: 9241593t@lux.latrobe.edu.au's message of 29 Aug 92 09:21:13 GMT
  13.  
  14. In article <1992Aug29.092113.12007@lugb.latrobe.edu.au> 9241593t@lux.latrobe.edu.au (B. Leach) writes:
  15.  
  16. |   This is the sort of error I keep getting:
  17. |
  18. |   Application of inapplicable object #[undefined-value]
  19. |
  20. |   There is no environment available;
  21. |   using the current REPL environment
  22. |   ;Package: (user)
  23. |
  24. |   Now I have NO idea what that means!!  Is my program fubar or is the
  25. |   installation?!
  26. |
  27.  
  28. What this means is that your program (or the system on behalf of your
  29. program) tried to apply (i.e. invoke, call) the object whose printed
  30. representation is `#[undefined-value]' as a procedure.
  31.  
  32. Of course, that object is not a procedure, and the system didn't let
  33. you do it.
  34.  
  35. Since the error occurred at apply time, not at eval time, there is no
  36. environment defined, and the system is telling you that.
  37.  
  38. Since there is no environment associated with the error, the system
  39. must choose one to give you in the new read-eval-print loop (REPL)
  40. that it will create (the one with the error prompt).  The system is
  41. telling you that it is using the environment of the "surrounding" REPL.
  42.  
  43. It is also telling you that this environment is the environment
  44. corresponding to the `(USER)' package, i.e. the default user
  45. interaction environment (where all your definitions are likely to
  46. reside).
  47.  
  48. Although there is no proper environment associated with the error, you
  49. can go into the debugger (Type `(debug)') to examine the stack and the
  50. history, where you may find some useful information.
  51.