[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gcl-devel] Re: Error when compiling function with doc string, declarati
From: |
Juho Snellman |
Subject: |
[Gcl-devel] Re: Error when compiling function with doc string, declaration |
Date: |
Wed, 15 Mar 2006 20:40:35 +0000 (UTC) |
User-agent: |
slrn/0.9.7.4 (Linux) |
<address@hidden> wrote:
> Maybe this is a bug. But, looking at the grammar for "defun" on the Common
> Lisp
> Hyperspec, it seems like providing both documentation and declarations is
> actually not allowed. How bizarre! Could this really be intentional?
"[[declaration* | documentation]]" is a BNF extension used in the CLHS
(see http://www.lisp.org/HyperSpec/Body/sec_1-4-1-2-1.html), which
means any number of declarations and at most one documentation, in any
order.
--
Juho Snellman