[Ecls-list] use-package iterate
lisp at davidb.org
Wed Feb 22 16:34:31 UTC 2012
On Wed, Feb 22, 2012 at 12:56:42PM +0400, necto wrote:
>I can easily use 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
>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))
Any of the conflicting symbols will be in a package other than CL that
is imported into CL-USER.
More information about the ecl-devel