Print the contents of a multi-dimensional array

Discussion of Common Lisp
ramarren
Posts: 613
Joined: Sun Jun 29, 2008 4:02 am
Location: Warsaw, Poland
Contact:

Re: Print the contents of a multi-dimensional array

Post by ramarren » Thu Jul 28, 2011 12:22 am

Paul wrote:(loop named <name> ...)
Unless I forgot more LOOP than I thought I did, this only names the loop block and allows a named RETURN, and does not allow execution of clauses in a different LOOP context.

Paul
Posts: 106
Joined: Tue Jun 02, 2009 6:00 am

Re: Print the contents of a multi-dimensional array

Post by Paul » Thu Jul 28, 2011 2:57 am

Ramarren wrote:
Paul wrote:(loop named <name> ...)
Unless I forgot more LOOP than I thought I did, this only names the loop block and allows a named RETURN, and does not allow execution of clauses in a different LOOP context.
Oh, just read the heading and the first paragraph...you're right, you can't do that "collect in" thing with LOOP [the way to do that is (loop ... nconc (loop ... collect ...))]

Post Reply