[Mkcl-devel] [Bug] (coerce obj 'list) returns reversed list

Hi, there I found a bug. mkcl returns: (print (coerce "string" 'list)) ; => (#\g #\n #\i #\r #\t #\s) but CLHS http://clhs.lisp.se/Body/f_coerce.htm specifies `coerce` to return the same sequence as origin. Because I couldn't find CONTRIBUTING file, I've attached my patch. Bests -- the Univ. of Tokyo math dept. Sunrim KIM/金 舜琳 (きん すんりん) Mail: 3han5chou7@gmail.com

On Fri, Sep 5, 2014 at 10:24 PM, 金舜琳 <3han5chou7@gmail.com> wrote:
Hi, there
I found a bug. mkcl returns: (print (coerce "string" 'list)) ; => (#\g #\n #\i #\r #\t #\s) but CLHS http://clhs.lisp.se/Body/f_coerce.htm specifies `coerce` to return the same sequence as origin.
Thank you very much for your bug report. I will apply your patch shortly. If you ever intend to post again to mkcl-devel please subscribe to it first. It will allow your post to be processed faster and will prevent it from being stuck in the moderation queue. Because I couldn't find CONTRIBUTING file, I've attached my patch.
Perfectly OK. Regards, Jean-Claude Beaudoin
participants (2)
-
Jean-Claude Beaudoin
-
金舜琳