[Ecls-list] Where is E? A bug ?

Stas Boukarev stassats at gmail.com
Mon Feb 6 11:42:53 UTC 2012


Xiaofeng Yang <n.akr.akiiya at gmail.com> writes:

> It is the stable release ECL 12.2.1, compiled using mingw32 with GCC 4.5.0.
>
> ECL (Embeddable Common-Lisp) 12.2.1 (git:UNKNOWN)
> Copyright (C) 1984 Taiichi Yuasa and Masami Hagiya
> Copyright (C) 1993 Giuseppe Attardi
> Copyright (C) 2000 Juan J. Garcia-Ripoll
> ECL is free software, and you are welcome to redistribute it
> under certain conditions; see file 'Copyright' for details.
> Type :h for Help.
> Top level in: #<process TOP-LEVEL>.
>> lambda-list-keywords
>
> (&OPTIONAL &REST &KEY &ALLOW-OTHER-KEYS &AUX &WHOLE &ENVIRONMENT &BODY)
>> lambda-list-keywords
>
> (&OPTIONAL &REST &KEY &ALLOW-OTHER-KEYS &AUX &WHOLE &ENVIRONMENT &BODY)
>> (stable-sort lambda-list-keywords
>              #'(lambda (a b)
>                  (string<= (symbol-name a) (symbol-name b))))
>
> E
> Condition of type: UNBOUND-VARIABLE
> The variable E is unbound.
I can't reproduce this but just so that you know, this would be better
as (sort (copy-seq lambda-list-keywords) #'string<=).

-- 
With best regards, Stas.




More information about the ecl-devel mailing list