Print the contents of a multi-dimensional array

Discussion of Common Lisp

Re: Print the contents of a multi-dimensional array

Postby 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.
Ramarren
 
Posts: 613
Joined: Sun Jun 29, 2008 4:02 am
Location: Warsaw, Poland

Re: Print the contents of a multi-dimensional array

Postby 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 ...))]
Paul
 
Posts: 106
Joined: Tue Jun 02, 2009 6:00 am

Previous

Return to Common Lisp

Who is online

Users browsing this forum: No registered users and 6 guests

cron