More Common lisp problems



>>>>> "Osman" == Osman  <osman@fuse.net> writes:

    Osman> Even After Vadim's patch, I am getting similar error messages:
    Osman> Type-error in KERNEL::OBJECT-NOT-LIST-ERROR-HANDLER:  LAMBDA is not of type 
    Osman> LIST

    Osman> Restarts:
    Osman>   0: [MACSYMA-QUIT] Macsyma top-level

    Osman> Debug  (type H for help)

    Osman> (MAPPLY1 (LAMBDA (#:G1010) (DECLARE #) (COND # #))
    Osman>          (2)
    Osman>          (LAMBDA (#:G1010) (DECLARE #) (COND # #))
    Osman>          NIL)
    Osman> Source:
    Osman> ; File: /home/Osman/osman/maxima-pre59/src/mlisp.lisp
    Osman> (CAAR FN)

    Osman> I checked mlisp.lisp and at line 2393:
    Osman>  (LIST '(LAMBDA) (CONS '(MLIST) ARGS) BODY))
                                              
    Osman> How do we make this list into a "function" use COERCE ?

Try this:

(coerce ... 'function)

Ray