[Ecls-list] use-package iterate

necto necto.not at gmail.com
Tue Feb 28 08:48:49 UTC 2012


Thank you, David. It solved the problem.

2012/2/22 David Brown <lisp at davidb.org>

> On Wed, Feb 22, 2012 at 12:56:42PM +0400, necto wrote:
>
>> Hello, everyone.
>>
>> I can easily use iterate (http://common-lisp.net/**project/iterate/<http://common-lisp.net/project/iterate/>)
>> under sbcl.
>>
>> But on ecl, it becomes a problem.
>>  1 (require 'asdf)
>>  2 (push "iterate/" asdf:*central-registry*)
>>  3 (asdf:operate 'asdf:load-op :iterate)
>>
>
> One hint, Quicklisp http://www.quicklisp.org/beta/ makes this much
> easier.
>
>
>  Iterate system is loaded successefully, and after typing (in-package
>> :iterate)
>> it allows such constrcutions as
>> (iter (for i from 0 to 10) (print i))
>> But (use-package :iterate) reveals many symbol conflicts (such symbols as
>> collect declare-variables, for, and many others)
>> How can I use this package in ecl?
>>
>
> Hmm, I've not had problems importing iterate into cl-user.  But, the
> easiest solution is to work in another package.
>
>   (defpackage #:work (:use #:cl #:iterate))
>   (in-package #:work)
>
> Any of the conflicting symbols will be in a package other than CL that
> is imported into CL-USER.
>
> David
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20120228/96dc2d83/attachment.html>


More information about the ecl-devel mailing list