[Ecls-list] Problem compiling cl-colors

Tobias C. Rittweiler tcr at freebits.de
Sat Sep 19 08:38:25 UTC 2009

Daniel Herring writes:

> Here's the error that halted compilation.  Many lisps (e.g. sbcl) are
> accepting of malformed type declarations.  ECL is stricter on this
> point; according to ANSI, TYPE can be omitted for simple types but not
> for compound types.  Change the above to (DECLARE (type (REAL 0 1)
> ALPHA)), and compilation should succeed.

I beg to differ. I think it's written to allow for compound types. It's
also what the relevant X3J13 Issue says. Clozure CCL recently changed to
accept compound type specifiers as declaration identifiers, too. See:



More information about the ecl-devel mailing list