<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>ByteLabs: Good Haskell Style</title>
    <link>http://blog.solaris.bytelabs.org/articles/2007/08/11/good-haskell-style</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>additions to a vast pool of entropy by Igor and Ines</description>
    <item>
      <title>Good Haskell Style</title>
      <description>&lt;p&gt;If you have written lots of &lt;a href="http://www.haskell.com/"&gt;Haskell&lt;/a&gt; code and used tabs for indentation because you have not yet read &lt;a href="http://urchin.earth.li/~ian/style/haskell.html"&gt;Good Haskell Style&lt;/a&gt; by &lt;a href="http://web.comlab.ox.ac.uk/oucl/work/ian.lynagh/"&gt;Ian Lynagh&lt;/a&gt;, then the following little Perl snippet may help you to easily convert your &lt;a href="http://www.haskell.com/"&gt;Haskell&lt;/a&gt; code:&lt;/p&gt;


	&lt;ul&gt;
	&lt;li&gt;&lt;code&gt;perl -e '($_ = join "",&amp;lt;&amp;gt;) =~ s/(\t)/    /g; print;'&lt;/code&gt;&lt;/li&gt;
	&lt;/ul&gt;


	&lt;p&gt;If you are using &lt;a href="http://www.macromates.com/"&gt;TextMate&lt;/a&gt; you can easily use this snippet as a &lt;em&gt;Filter Through Command&amp;#8230;&lt;/em&gt;&lt;/p&gt;


	&lt;p&gt;&lt;strong&gt;Sources:&lt;/strong&gt;&lt;/p&gt;


	&lt;ul&gt;
	&lt;li&gt;&lt;a href="http://www.nabble.com/Good-Haskell-Style-t4200373.html"&gt;Ian Lynagh post&lt;/a&gt; to the Haskell Libraries list.&lt;/li&gt;
		&lt;li&gt;&lt;a href="http://urchin.earth.li/~ian/style/haskell.html"&gt;Good Haskell Style&lt;/a&gt;&lt;/li&gt;
	&lt;/ul&gt;</description>
      <pubDate>Sat, 11 Aug 2007 15:28:00 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:acbfd6e0-af12-43cc-8774-98c8a25e230b</guid>
      <author>igor</author>
      <link>http://blog.solaris.bytelabs.org/articles/2007/08/11/good-haskell-style</link>
      <category>Diploma Thesis</category>
      <category>Hacking and Computers</category>
      <category>Haskell</category>
    </item>
  </channel>
</rss>
