home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!psgrain!percy!data!kend
- From: kend@data.rain.com (Ken Dickey)
- Newsgroups: comp.lang.scheme
- Subject: Re^2: wots going on here!?
- Message-ID: <709@data.rain.com>
- Date: 2 Sep 92 23:44:49 GMT
- References: <JINX.92Aug29101908@chamarti.ai.mit.edu> <17o70sINNi2e@agate.berkeley.edu> <JINX.92Aug29223329@chamarti.ai.mit.edu> <17piphINNncj@agate.berkeley.edu> <1992Sep1.160256.25131@sharebase.com>
- Organization: Microtek DSD, Hillsboro, OR
- Lines: 45
-
- >bh@anarres.CS.Berkeley.EDU (Brian Harvey) writes:
-
- >%%The behavior I want would be *less* verbose:
- >%% > (+ 2 a)
- >%% Unbound variable: a
- >%% >
-
- Well, as long as you are not asking for standards (!), here is Gambit:
-
-
- : (+ 2 a)
- *** ERROR -- Unbound variable: a
-
- 1: ,r ;; return a value for a
- Value: 3
- 5
-
- : (define x 1)
- x
-
- : (define z (set! x 2)) ;; to get undefined value
- z
-
- : z
- #[undefined]
-
- : (z 37)
- *** ERROR -- Operator is not a PROCEDURE
- (z 37)
-
- 1: ,?
- ,? : Summary of commands
- ,+ and ,- : Move to next or previous frame of continuation
- ,<n> : Move to particular frame (<n> <= 0)
- ,b : Display frames of continuation (i.e. backtrace)
- ,p : Display procedure attached to current frame
- ,e : Display subproblem of current frame
- ,l : Display list of local variables accessible in current frame
- ,t : Transfer to top-level REP loop
- ,d : Transfer to previous REP loop
- ,r : Return from REP loop
- ,q : Quit
-
- 1: ,q
-
-