wanted: FUNCTION-LAMBDA-EXPRESSION to a lambda for all notinline functions as well
Bug #560977 reported by
Roman Marynchak
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
It will be nice to make FUNCTION-
(defun h() (format T "Hi there"))
(function-
with the output from CLISP:
[1]> (defun h() (format T "Hi there"))
H
[2]> (function-
(LAMBDA NIL (DECLARE (SYSTEM::IN-DEFUN H)) (BLOCK H (FORMAT T "Hi there"))) ;
#(NIL NIL NIL NIL ((DECLARATION XLIB::CLX-VALUES VALUES OPTIMIZE DECLARATION))) ;
H
[3]>
So, SBCL gives NIL instead of the function's lambda expression.
Regards,
Roman
Changed in sbcl: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
would also be useful for the partial evaluator Levente is working on... ( http:// dwim.hu/ project/ hu.dwim. partial- eval )