Thank you, David. It solved the problem.
2012/2/22 David Brown <l...@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
>
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list