Greetings! The function supplied to reduce has to take zero or two arguments. This is unfortunate, but thems the specs. :-(.
Taka care, Robert Boyer <[EMAIL PROTECTED]> writes: > In fact, (max) did not come up at all except during some > sort of in-lining or macroexpansion. > > Bob > > ------------------------------------------------------------------------------- > > GCL (GNU Common Lisp) 2.7.0 ANSI May 16 2006 23:58:28 > ... > >(defun foo (l) (reduce #'max l)) > >(compile 'foo) > > ;; Compiling /tmp/gazonk_22743_0.lsp. > Error in COMPILER::C1EXPR [or a callee]: COMPILER::C1EXPR [or a callee] > requires more than zero arguments. > > Fast links are on: do (si::use-fast-links nil) for debugging > Broken at CONDITIONS::CLCS-UNIVERSAL-ERROR-HANDLER. Type :H for Help. > 1 (Continue) Retry compiling file #P"/tmp/gazonk_22743_0.lsp". > 2 Retry compiling FOO. > 3 Return to top level. > dbl:>> > > > > -- Camm Maguire [EMAIL PROTECTED] ========================================================================== "The earth is but one country, and mankind its citizens." -- Baha'u'llah _______________________________________________ Gcl-devel mailing list Gcl-devel@gnu.org http://lists.gnu.org/mailman/listinfo/gcl-devel