[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gcl-devel] Re: (reduce #'max l)
From: |
Camm Maguire |
Subject: |
[Gcl-devel] Re: (reduce #'max l) |
Date: |
17 May 2006 17:32:57 -0400 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
Greetings! The function supplied to reduce has to take zero or two
arguments. This is unfortunate, but thems the specs. :-(.
Taka care,
Robert Boyer <address@hidden> 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 address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gcl-devel] Re: (reduce #'max l),
Camm Maguire <=