CompuServe Messages

LISP ???

    21-Apr-88 19:31:17
Sb: #22090-LISP ???
Fm: Training [ADESK] 73417,2235
To: David Maki 76077,2375
David — Try this: .. (setq lst_of_reals (list 1.0 2.0 3.0 4.0 0.5)) .. (setq min_of_lst_of_reals (eval (cons 'min lst))) .. As you can see, we use CONS to place the atom MIN at the front of the list of reals, and then use EVAL to force an explicit evaluation of the new list. This allows the MIN function to work as documented, while allowing us the option of applying MIN to a separate list of reals. — Brad ..