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

Jean-Claude Beaudoin jean.claude.beaudoin at gmail.com
Sun Sep 7 06:15:49 UTC 2014


On Sat, Sep 6, 2014 at 1:16 PM, Jean-Claude Beaudoin <
jean.claude.beaudoin at gmail.com> wrote:


>
> On Fri, Sep 5, 2014 at 10:24 PM, 金舜琳 <3han5chou7 at 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.
>
>
Your patch as now been applied to the code of MKCL, if not in its letter at
least in its spirit.
(Final code should be more efficient).

The patch currently sits on the commit list head of MKCL's git repository
(master branch).

Thank you again,

Jean-Claude Beaudoin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/mkcl-devel/attachments/20140907/749c320d/attachment.html>


More information about the mkcl-devel mailing list