Is there a way to trace a function such as map?
if trace(map) is executed, the following error occurs:
map(integerp,[1,2,3]);
8797377 Enter FALSE []
Correctable error:
Error: ("Undefined" SHADOW "property") is not of type STRING.
Fast links are on: do (si::use-fast-links nil) for debugging
Error signalled by SYSTEM:UNIVERSAL-ERROR-HANDLER.
Broken at SYSTEM:UNIVERSAL-ERROR-HANDLER. Type :H for Help.
MAXIMA>>
This is using the windows binary 5.5, but a similar problem occurs in
pre59, using clisp.
(C2) trace(map);
(D2) [MAP]
(C3) map(integerp,[1,2,3]);
*** - APPLY: argument
(LAMBDA ("E &REST TRACE-FORM)
(TRACE-HANDLER (CAAR TRACE-FORM) (COPY-LIST TRACE-FORM))) is not a
function.
To get a function in the current environment, write (FUNCTION ...).
To get a function in the global environment, write (COERCE '...
'FUNCTION).
1. Break [1]>
Thanks,
Dan