<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Putting a separator between your elements</title>
	<atom:link href="http://labs.astrobunny.net/blog/2009/04/16/putting-a-separator-between-your-elements/feed/" rel="self" type="application/rss+xml" />
	<link>http://labs.astrobunny.net/blog/2009/04/16/putting-a-separator-between-your-elements/</link>
	<description>astrobunny writing programs</description>
	<lastBuildDate>Tue, 10 Aug 2010 20:20:19 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Ryan A</title>
		<link>http://labs.astrobunny.net/blog/2009/04/16/putting-a-separator-between-your-elements/comment-page-1/#comment-18</link>
		<dc:creator>Ryan A</dc:creator>
		<pubDate>Thu, 16 Apr 2009 15:19:55 +0000</pubDate>
		<guid isPermaLink="false">http://labs.astrobunny.net/?p=108#comment-18</guid>
		<description>Use a functional language, 1 function takes list, has two cases... it&#039;s like 3 lines of code. Something like

fun {Join L C}
	case L
	of H&#124;nil then H
	[] H&#124;T then H#C#{Join T C}
	end
end

{Join MyArray &quot;, &quot;}

Would probably do it. Also, I believe ruby/python/php have array functions which do these things; php uses implode, which is quite useful. ^^</description>
		<content:encoded><![CDATA[<p>Use a functional language, 1 function takes list, has two cases&#8230; it&#8217;s like 3 lines of code. Something like</p>
<p>fun {Join L C}<br />
	case L<br />
	of H|nil then H<br />
	[] H|T then H#C#{Join T C}<br />
	end<br />
end</p>
<p>{Join MyArray &#8220;, &#8220;}</p>
<p>Would probably do it. Also, I believe ruby/python/php have array functions which do these things; php uses implode, which is quite useful. ^^</p>
]]></content:encoded>
	</item>
</channel>
</rss>

