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/) 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 ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Ecls-list mailing list Ecls-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ecls-list