home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!data.nas.nasa.gov!taligent!apple!cambridge.apple.com!millett@sbctri.sbc.com
- From: millett@sbctri.sbc.com
- Newsgroups: comp.lang.lisp.mcl
- Subject: handler-case problem?
- Message-ID: <9211182018.AA14663@calvin>
- Date: 18 Nov 92 20:18:06 GMT
- Sender: info-mcl-request@cambridge.apple.com
- Lines: 17
- Approved: comp.lang.lisp.mcl@Cambridge.Apple.C0M
-
- So when I enter this form I get this behavior:
- ? (handler-case (/ pi 0) (DIVISION-BY-ZERO (x) (print x)))
- > Error: While compiling an anonymous function :
- > Error: "Can't divide by zero."
- > signalled during compile-time evaluation of (/ 3.141592653589793 0) .
- > Type Command-. to abort.
- See the RestartsI menu item for further choices.
- 1 > (local 7)
- #<DIVISION-BY-ZERO #x1924C49>
- 1 > (type-of (local 7))
- DIVISION-BY-ZERO
- 1 >
- Aborted
- ?
-
- Am I doing something wrong or is handler-case used-up?
- Thanks.
-