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

  1. Path: sparky!uunet!ferkel.ucsb.edu!ucsbcsl!network.ucsd.edu!sdd.hp.com!uakari.primate.wisc.edu!ames!agate!anarres.CS.Berkeley.EDU!bh
  2. From: bh@anarres.CS.Berkeley.EDU (Brian Harvey)
  3. Newsgroups: comp.lang.scheme
  4. Subject: Re: wots going on here!?
  5. Message-ID: <17piphINNncj@agate.berkeley.edu>
  6. Date: 30 Aug 92 04:28:33 GMT
  7. References: <JINX.92Aug29101908@chamarti.ai.mit.edu> <17o70sINNi2e@agate.berkeley.edu> <JINX.92Aug29223329@chamarti.ai.mit.edu>
  8. Organization: University of California at Berkeley
  9. Lines: 26
  10. NNTP-Posting-Host: anarres.cs.berkeley.edu
  11.  
  12. jinx@zurich.ai.mit.edu writes:
  13. >There is a large tension in a system
  14. >aimed both at experienced users and stark novices between being overly
  15. >verbose and "nice" and being useful.
  16.   [...]
  17. >The system distributed by MIT is not the system that is used directly
  18. >by students in 6.001 or 6.003 at MIT.  The system given to students is
  19. >typically built on top and often is "nicer" to novices at the expense
  20. >of being cumbersome to experienced users.
  21.  
  22. The behavior I want would be *less* verbose:
  23.  
  24.     > (+ 2 a)
  25.     Unbound variable: a
  26.  
  27.     >
  28.  
  29. Short and sweet.  It should be possible for an advanced user to ask
  30. for pause-on-error behavior in which Scheme would attempt to preserve
  31. the environment in which the error occurred, but you should have to
  32. ask for it.  (This is how Logo does things.  Errors give a message
  33. and return to toplevel, unless you have asked in advance for pause
  34. on error.  In that case you get a special prompt and (because of good
  35. old dynamic scope -- but that's another argument) *all* of the possibly
  36. relevant variables are immediately accessible in the usual way without
  37. you having to know anything about environments.)
  38.