<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>spyked bricks in the wall &#187; snake</title>
	<atom:link href="http://lucian.mogosanu.ro/bricks/tag/snake/feed/" rel="self" type="application/rss+xml" />
	<link>http://lucian.mogosanu.ro/bricks</link>
	<description>on the internet, no one can hear you scream.</description>
	<lastBuildDate>Sun, 25 Jul 2010 17:09:40 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>the badger, the mushroom, the snake and the haskell</title>
		<link>http://lucian.mogosanu.ro/bricks/the-badger-the-mushroom-the-snake-and-the-haskell/</link>
		<comments>http://lucian.mogosanu.ro/bricks/the-badger-the-mushroom-the-snake-and-the-haskell/#comments</comments>
		<pubDate>Tue, 22 Dec 2009 20:10:10 +0000</pubDate>
		<dc:creator>spyked</dc:creator>
				<category><![CDATA[wtf]]></category>
		<category><![CDATA[badger]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[haskell]]></category>
		<category><![CDATA[mushroom]]></category>
		<category><![CDATA[snake]]></category>
		<category><![CDATA[weebl]]></category>

		<guid isPermaLink="false">http://lucian.mogosanu.ro/bricks/?p=1069</guid>
		<description><![CDATA[How they all fit together:

1
2
3
4
5
6
7
8
module Badger where
&#160;
badger :: Int -&#62; Int -&#62; &#91;String&#93;
badger mushroom snake = badger' mushroom snake mushroom snake
    where
    badger' m s 0 s' = &#34;Mushroom&#34; : &#34;Mushroom&#34; : badger' m s m s'
    badger' m s m' 0 = &#34;Snaaaaaaaaake&#34; : badger' [...]]]></description>
			<content:encoded><![CDATA[<p>How they all fit together:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
</pre></td><td class="code"><pre class="haskell" style="font-family:monospace;"><span style="color: #06c; font-weight: bold;">module</span> Badger <span style="color: #06c; font-weight: bold;">where</span>
&nbsp;
badger <span style="color: #339933; font-weight: bold;">::</span> <span style="color: #cccc00; font-weight: bold;">Int</span> <span style="color: #339933; font-weight: bold;">-&gt;</span> <span style="color: #cccc00; font-weight: bold;">Int</span> <span style="color: #339933; font-weight: bold;">-&gt;</span> <span style="color: green;">&#91;</span><span style="color: #cccc00; font-weight: bold;">String</span><span style="color: green;">&#93;</span>
badger mushroom snake <span style="color: #339933; font-weight: bold;">=</span> badger' mushroom snake mushroom snake
    <span style="color: #06c; font-weight: bold;">where</span>
    badger' m s <span style="color: red;">0</span> s' <span style="color: #339933; font-weight: bold;">=</span> <span style="background-color: #3cb371;">&quot;Mushroom&quot;</span> : <span style="background-color: #3cb371;">&quot;Mushroom&quot;</span> : badger' m s m s'
    badger' m s m' <span style="color: red;">0</span> <span style="color: #339933; font-weight: bold;">=</span> <span style="background-color: #3cb371;">&quot;Snaaaaaaaaake&quot;</span> : badger' m s m s
    badger' m s m' s' <span style="color: #339933; font-weight: bold;">=</span> <span style="background-color: #3cb371;">&quot;Badger&quot;</span> : badger' m s <span style="color: green;">&#40;</span>m' <span style="color: #339933; font-weight: bold;">-</span> <span style="color: red;">1</span><span style="color: green;">&#41;</span> <span style="color: green;">&#40;</span>s' <span style="color: #339933; font-weight: bold;">-</span> <span style="color: red;">1</span><span style="color: green;">&#41;</span></pre></td></tr></table></div>

<p>A Haskell 8-liner based on <a href="http://www.badgerbadgerbadger.com/">this short</a> made by Weebl.</p>
]]></content:encoded>
			<wfw:commentRss>http://lucian.mogosanu.ro/bricks/the-badger-the-mushroom-the-snake-and-the-haskell/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
