This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/dev/erlang-memory-debugging sbcl | |
This is SBCL 1.4.0, an implementation of ANSI Common Lisp. | |
More information about SBCL is available at <http://www.sbcl.org/>. | |
SBCL is free software, provided as is, with absolutely no warranty. | |
It is mostly in the public domain; some portions are provided under | |
BSD-style licenses. See the CREDITS and COPYING files in the | |
distribution for more information. | |
* (defun foo (x) (defun foo2 (y) (+ 1 y))) | |
; in: DEFUN FOO | |
; (SB-INT:NAMED-LAMBDA FOO | |
; (X) | |
; (BLOCK FOO (DEFUN FOO2 (Y) (+ 1 Y)))) | |
; | |
; caught STYLE-WARNING: | |
; The variable X is defined but never used. | |
; | |
; compilation unit finished | |
; caught 1 STYLE-WARNING condition | |
FOO | |
* (foo2) | |
debugger invoked on a UNDEFINED-FUNCTION in thread | |
#<THREAD "main thread" RUNNING {10019567D3}>: | |
The function COMMON-LISP-USER::FOO2 is undefined. | |
Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL. | |
restarts (invokable by number or by possibly-abbreviated name): | |
0: [CONTINUE ] Retry using FOO2. | |
1: [USE-VALUE] Use specified function | |
2: [ABORT ] Exit debugger, returning to top level. | |
(SYMBOL-FUNCTION FOO2) | |
0] 0 | |
debugger invoked on a UNDEFINED-FUNCTION in thread | |
#<THREAD "main thread" RUNNING {10019567D3}>: | |
The function COMMON-LISP-USER::FOO2 is undefined. | |
Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL. | |
restarts (invokable by number or by possibly-abbreviated name): | |
0: [CONTINUE ] Retry using FOO2. | |
1: [USE-VALUE] Use specified function | |
2: [ABORT ] Exit debugger, returning to top level. | |
(SYMBOL-FUNCTION FOO2) | |
0] 2 | |
* (foo 1) | |
FOO2 | |
* (foo2 1) | |
2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment