<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/tags/looping</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Wed, 22 May 2013 21:55:30 GMT</pubDate>
<item>
<title>(Lisp) LUA's for loops (in LISP) - timm</title>
<link>http://snipplr.com/view/63572/luas-for-loops-in-lisp/</link>
<description><![CDATA[ <p>The LUA programming language supports iterators.

The LUA for loop takes some generate function and asks it to
produce a function that can return the next item.

A loop is then entered. The next item is generated. If it
is non-nil, then the body of the loop is called to consume
that item. 

Otherwise, it exit.

The following LISP macro emulates that for command.</p> ]]></description>
<pubDate>Sat, 25 Feb 2012 14:57:55 GMT</pubDate>
<guid>http://snipplr.com/view/63572/luas-for-loops-in-lisp/</guid>
</item>
<item>
<title>(Python) list comprehension - iamok</title>
<link>http://snipplr.com/view/14751/list-comprehension/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 06 May 2009 02:45:50 GMT</pubDate>
<guid>http://snipplr.com/view/14751/list-comprehension/</guid>
</item>
</channel>
</rss>