gcl-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gcl-devel] ANSI compliance errors with CONCATENATE


From: Paul F. Dietz
Subject: [Gcl-devel] ANSI compliance errors with CONCATENATE
Date: Fri, 06 Sep 2002 07:16:50 -0500

The following forms are evaluated improperly in gcl
compiled with --enable-ansi:

(concatenate 'cons '(a b c d e))
   ;; should yield (a b c d e), but instead throws an error.
   ;; (CONS is a subtype of LIST, so this should be legal.)

(concatenate 'null () ())
   ;; should yield NIL (since NIL is in type NULL and NULL
   ;; is a subtype of LIST) but instead throws an error.

(concatenate '(vector * 3) '(a b c d e))
   ;; should throw an error (since the number of elements is
   ;; incompatible) but instead returns (a b c d e).

        Paul




reply via email to

[Prev in Thread] Current Thread [Next in Thread]