<?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>The Free Geek &#187; Clojure</title>
	<atom:link href="http://freegeek.in/blog/category/programming/clojure-programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://freegeek.in/blog</link>
	<description>The Chronicles of Nerd-nia</description>
	<lastBuildDate>Fri, 03 Jun 2011 05:15:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>10 Clojure One Liners to Impress Your Friends</title>
		<link>http://freegeek.in/blog/2011/06/10-clojure-one-liners/</link>
		<comments>http://freegeek.in/blog/2011/06/10-clojure-one-liners/#comments</comments>
		<pubDate>Thu, 02 Jun 2011 11:38:13 +0000</pubDate>
		<dc:creator>Baishampayan</dc:creator>
				<category><![CDATA[Clojure]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[clojure]]></category>
		<category><![CDATA[functional programming]]></category>
		<category><![CDATA[lisp]]></category>

		<guid isPermaLink="false">http://freegeek.in/blog/?p=111</guid>
		<description><![CDATA[I saw an interesting post today aptly titled 10 Scala One Liners to Impress Your Friends and then someone followed up with another blog post titled 10 CoffeeScript One Liners to Impress Your Friends. Those two posts show programming tasks (most of them trivial to solve in modern programming languages) being accomplished in about 1 [...]]]></description>
			<content:encoded><![CDATA[<p>I saw an interesting post today aptly titled <a title="10 Scala One Liners to Impress Your Friends" href="http://solog.co/47/10-scala-one-liners-to-impress-your-friends/">10 Scala One Liners to Impress Your Friends</a> and then someone followed up with another blog post titled <a title="10 CoffeeScript One Liners to Impress Your Friends" href="http://ricardo.cc/2011/06/02/10-CoffeeScript-One-Liners-to-Impress-Your-Friends.html">10 CoffeeScript One Liners to Impress Your Friends</a>. Those two posts show programming tasks (most of them trivial to solve in modern programming languages) being accomplished in about 1 line of code each.</p>
<p>I thought it&#8217;d be quite appropriate if someone ported those examples to my favourite programming language <a title="Clojure Programming Language" href="http://clojure.org">Clojure</a>, so here they are -</p>
<h2>1. Multiple Each Item in a List by 2</h2>

<div class="wp_syntax"><div class="code"><pre class="lisp" style="font-family:monospace;"><span style="color: #66cc66;">&#40;</span>map #<span style="color: #66cc66;">&#40;</span>* <span style="color: #66cc66;">%</span> <span style="color: #cc66cc;">2</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#40;</span>range <span style="color: #cc66cc;">1</span> <span style="color: #cc66cc;">11</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span></pre></div></div>

<h2>2. Sum a List of Numbers</h2>

<div class="wp_syntax"><div class="code"><pre class="lisp" style="font-family:monospace;"><span style="color: #66cc66;">&#40;</span>reduce<span style="color: #66cc66;"> + </span><span style="color: #66cc66;">&#40;</span>range <span style="color: #cc66cc;">1</span> <span style="color: #cc66cc;">1001</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span></pre></div></div>

<h2>3. Verify if Word Exists in a String</h2>
<p>I used a regex here, because I believe that&#8217;s the right way to do it.</p>

<div class="wp_syntax"><div class="code"><pre class="lisp" style="font-family:monospace;"><span style="color: #66cc66;">&#40;</span>def tweet <span style="color: #ff0000;">&quot;This is an example tweet talking about clojure and emacs.&quot;</span><span style="color: #66cc66;">&#41;</span>
<span style="color: #66cc66;">&#40;</span>def regex <span style="color: #66cc66;">&#40;</span>re-pattern <span style="color: #66cc66;">&#40;</span><span style="color: #b1b100;">apply</span> str <span style="color: #66cc66;">&#40;</span>interpose <span style="color: #ff0000;">&quot;|&quot;</span> <span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;clojure&quot;</span> <span style="color: #ff0000;">&quot;logic&quot;</span> <span style="color: #ff0000;">&quot;compojure&quot;</span> <span style="color: #ff0000;">&quot;emacs&quot;</span> <span style="color: #ff0000;">&quot;macros&quot;</span><span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>
<span style="color: #66cc66;">&#40;</span>re-seq regex tweet<span style="color: #66cc66;">&#41;</span> <span style="color: #808080; font-style: italic;">; Gives me the actual matches instead of just true/false</span></pre></div></div>

<p>As suggested by a commentator, this problem can be solved without using regex by leveraging Clojure&#8217;s sets.</p>

<div class="wp_syntax"><div class="code"><pre class="lisp" style="font-family:monospace;"><span style="color: #66cc66;">&#40;</span>def tweet <span style="color: #ff0000;">&quot;This is an example tweet talking about clojure and emacs.&quot;</span><span style="color: #66cc66;">&#41;</span>
<span style="color: #66cc66;">&#40;</span>def is-word? <span style="color: #66cc66;">&#40;</span><span style="color: #b1b100;">set</span> <span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;clojure&quot;</span> <span style="color: #ff0000;">&quot;logic&quot;</span> <span style="color: #ff0000;">&quot;compojure&quot;</span> <span style="color: #ff0000;">&quot;emacs&quot;</span> <span style="color: #ff0000;">&quot;macros&quot;</span><span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>
<span style="color: #66cc66;">&#40;</span><span style="color: #b1b100;">not</span> <span style="color: #66cc66;">&#40;</span><span style="color: #b1b100;">nil</span>? <span style="color: #66cc66;">&#40;</span>some is-word? <span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">.</span>split tweet <span style="color: #ff0000;">&quot; &quot;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #808080; font-style: italic;">; Returns true/false</span></pre></div></div>

<h2>4. Read a File</h2>

<div class="wp_syntax"><div class="code"><pre class="lisp" style="font-family:monospace;"><span style="color: #66cc66;">&#40;</span>def file-text <span style="color: #66cc66;">&#40;</span>slurp <span style="color: #ff0000;">&quot;data.txt&quot;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #808080; font-style: italic;">; Reads the whole file</span>
<span style="color: #66cc66;">&#40;</span>def file-lines <span style="color: #66cc66;">&#40;</span>clojure<span style="color: #66cc66;">.</span>contrib<span style="color: #66cc66;">.</span>io/read-lines <span style="color: #ff0000;">&quot;data.txt&quot;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #808080; font-style: italic;">; Reads as a sequence of lines</span></pre></div></div>

<p>Since Clojure Contrib has been deprecated for future Clojure releases, <code>clojure.contrib.io/read-lines</code> can be rewritten as <code>(line-seq (clojure.java.io/reader (clojure.java.io/file “data.txt”)))</code> in Clojure 1.3 onwards. Thanks to Aaron for pointing it out.</p>
<h2>5. Happy Birthday to You</h2>

<div class="wp_syntax"><div class="code"><pre class="lisp" style="font-family:monospace;"><span style="color: #66cc66;">&#40;</span>doseq <span style="color: #66cc66;">&#91;</span><span style="color: #b1b100;">l</span> <span style="color: #66cc66;">&#40;</span>map #<span style="color: #66cc66;">&#40;</span>str <span style="color: #ff0000;">&quot;Happy Birthday &quot;</span> <span style="color: #66cc66;">&#40;</span><span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">=</span> <span style="color: #66cc66;">%</span> <span style="color: #cc66cc;">2</span><span style="color: #66cc66;">&#41;</span> <span style="color: #ff0000;">&quot;dear Rich&quot;</span> <span style="color: #ff0000;">&quot;to You&quot;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#40;</span>range <span style="color: #cc66cc;">4</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#93;</span> <span style="color: #66cc66;">&#40;</span>println <span style="color: #b1b100;">l</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span></pre></div></div>

<p>Alternate version -</p>

<div class="wp_syntax"><div class="code"><pre class="lisp" style="font-family:monospace;"><span style="color: #66cc66;">&#40;</span><span style="color: #b1b100;">dotimes</span> <span style="color: #66cc66;">&#91;</span>n <span style="color: #cc66cc;">4</span><span style="color: #66cc66;">&#93;</span> <span style="color: #66cc66;">&#40;</span>println <span style="color: #ff0000;">&quot;Happy Birthday &quot;</span> <span style="color: #66cc66;">&#40;</span><span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">=</span> n <span style="color: #cc66cc;">2</span><span style="color: #66cc66;">&#41;</span> <span style="color: #ff0000;">&quot;dear Rich&quot;</span> <span style="color: #ff0000;">&quot;to You&quot;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span></pre></div></div>

<h2>6. Filter List of Numbers</h2>

<div class="wp_syntax"><div class="code"><pre class="lisp" style="font-family:monospace;"><span style="color: #66cc66;">&#40;</span>partition-by #<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&gt;</span> <span style="color: #66cc66;">%</span> <span style="color: #cc66cc;">60</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;">49</span> <span style="color: #cc66cc;">58</span> <span style="color: #cc66cc;">76</span> <span style="color: #cc66cc;">82</span> <span style="color: #cc66cc;">88</span> <span style="color: #cc66cc;">90</span><span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#41;</span></pre></div></div>

<h2>7. Fetch and Parse XML Web Service</h2>

<div class="wp_syntax"><div class="code"><pre class="lisp" style="font-family:monospace;"><span style="color: #66cc66;">&#40;</span>clojure<span style="color: #66cc66;">.</span>xml/parse <span style="color: #ff0000;">&quot;http://search.twitter.com/search.atom?&amp;q=clojure&quot;</span><span style="color: #66cc66;">&#41;</span></pre></div></div>

<h2>8. Find Maximum (or Minimum) in a List</h2>

<div class="wp_syntax"><div class="code"><pre class="lisp" style="font-family:monospace;"><span style="color: #66cc66;">&#40;</span>reduce <span style="color: #b1b100;">max</span> <span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;">14</span> <span style="color: #cc66cc;">35</span> -<span style="color: #cc66cc;">7</span> <span style="color: #cc66cc;">46</span> <span style="color: #cc66cc;">98</span><span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#41;</span>
<span style="color: #66cc66;">&#40;</span>reduce <span style="color: #b1b100;">min</span> <span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;">14</span> <span style="color: #cc66cc;">35</span> -<span style="color: #cc66cc;">7</span> <span style="color: #cc66cc;">46</span> <span style="color: #cc66cc;">98</span><span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#41;</span>
<span style="color: #808080; font-style: italic;">;; Now both together</span>
<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#40;</span>juxt #<span style="color: #66cc66;">&#40;</span>reduce <span style="color: #b1b100;">max</span> <span style="color: #66cc66;">%</span><span style="color: #66cc66;">&#41;</span> #<span style="color: #66cc66;">&#40;</span>reduce <span style="color: #b1b100;">min</span> <span style="color: #66cc66;">%</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;">14</span> <span style="color: #cc66cc;">35</span> -<span style="color: #cc66cc;">7</span> <span style="color: #cc66cc;">46</span> <span style="color: #cc66cc;">98</span><span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #808080; font-style: italic;">; Returns [98 -7]</span></pre></div></div>

<h2>9. Parallel Processing</h2>

<div class="wp_syntax"><div class="code"><pre class="lisp" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">;; Assuming process-line to be a CPU intensive function that operates on a line</span>
<span style="color: #66cc66;">&#40;</span>pmap process-line lines<span style="color: #66cc66;">&#41;</span> <span style="color: #808080; font-style: italic;">; Note the &quot;p&quot; in front of map</span></pre></div></div>

<h2>10. Sieve of Eratosthenes</h2>
<p>I don&#8217;t I have a sufficiently good (in terms of performance &amp; beauty) one line implementation of SoE. I would recommend checking out Christophe Grand&#8217;s treatise on the subject titled <a title="Everybody Loves Sieve of Eratosthenes" rel="bookmark" href="http://clj-me.cgrand.net/2009/07/30/everybody-loves-the-sieve-of-eratosthenes/">Everybody loves the Sieve of Eratosthenes</a> for a great discussion on writing real world prime sieves in Clojure.</p>
<h2>11. Solve FizzBuzz</h2>

<div class="wp_syntax"><div class="code"><pre class="lisp" style="font-family:monospace;"><span style="color: #66cc66;">&#40;</span>map #<span style="color: #66cc66;">&#40;</span><span style="color: #b1b100;">cond</span> <span style="color: #66cc66;">&#40;</span>zero? <span style="color: #66cc66;">&#40;</span>mod <span style="color: #66cc66;">%</span> <span style="color: #cc66cc;">15</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #ff0000;">&quot;FizzBuzz&quot;</span> <span style="color: #66cc66;">&#40;</span>zero? <span style="color: #66cc66;">&#40;</span>mod <span style="color: #66cc66;">%</span> <span style="color: #cc66cc;">3</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #ff0000;">&quot;Fizz&quot;</span> <span style="color: #66cc66;">&#40;</span>zero? <span style="color: #66cc66;">&#40;</span>mod <span style="color: #66cc66;">%</span> <span style="color: #cc66cc;">5</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #ff0000;">&quot;Buzz&quot;</span> <span style="color: #66cc66;">:</span><span style="color: #555;">else</span> <span style="color: #66cc66;">%</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#40;</span>range <span style="color: #cc66cc;">1</span> <span style="color: #cc66cc;">101</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span></pre></div></div>

<h2>Conclusion</h2>
<p>Can&#8217;t conclude anything from these examples, really. Clojure is an extremely powerful and succinct programming language. Learn it, write some code in it and then decide for yourself.</p>
<p>Have fun!</p>
]]></content:encoded>
			<wfw:commentRss>http://freegeek.in/blog/2011/06/10-clojure-one-liners/feed/</wfw:commentRss>
		<slash:comments>23</slash:comments>
		</item>
		<item>
		<title>Setting up Emacs &amp; Clojure with Emacs Starter Kit</title>
		<link>http://freegeek.in/blog/2009/08/setting-up-emacs-clojure-with-emacs-starter-kit/</link>
		<comments>http://freegeek.in/blog/2009/08/setting-up-emacs-clojure-with-emacs-starter-kit/#comments</comments>
		<pubDate>Fri, 31 Jul 2009 21:21:55 +0000</pubDate>
		<dc:creator>Baishampayan</dc:creator>
				<category><![CDATA[Clojure]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[clojure]]></category>
		<category><![CDATA[emacs]]></category>
		<category><![CDATA[functional programming]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[jvm]]></category>
		<category><![CDATA[lisp]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://freegeek.in/blog/?p=63</guid>
		<description><![CDATA[Note: This blog post is no longer accurate as a lot of things have changed since I wrote this post. Please check this document for working instructions. Clojure is a very modern functional programming language which runs on the JVM. It&#8217;s a very cleanly designed Lisp dialect and has all the features that any useful [...]]]></description>
			<content:encoded><![CDATA[<p><ins><strong>Note:</strong> This blog post is no longer accurate as a lot of things have changed since I wrote this post. Please check <a title="Clojure Project on Assembla" href="http://www.assembla.com/wiki/show/clojure/Getting_Started_with_Emacs">this document</a> for working instructions.</ins></p>
<p><a href="http://clojure.org">Clojure</a> is a very modern functional programming language which runs on the <a href="http://en.wikipedia.org/wiki/JVM">JVM</a>. It&#8217;s a very cleanly designed <a href="http://en.wikipedia.org/wiki/Lisp_(programming_language)">Lisp</a> dialect and has all the features that any useful programming language would require. You can learn more about Clojure on the official website, <a href="http://en.wikibooks.org/wiki/Clojure_Programming">the wikibook</a>, <a href="http://java.ociweb.com/mark/clojure/article.html">a comprehensive article by R. Mark Volkmann</a> or by buying <a href="http://www.amazon.com/Programming-Clojure-Pragmatic-Programmers-Halloway/dp/1934356336/ref=sr_1_1?ie=UTF8&amp;qid=1249074313&amp;sr=8-1">the awesome book by Stuart Halloway</a>.</p>
<p>Now to setup <a href="http://en.wikipedia.org/wiki/Emacs">Emacs</a> as a Clojure IDE. If you are new to Emacs then don&#8217;t worry as we will take the easiest way to set it all up. If you are a Emacs veteran, then keep your own dotemacs and the bunch of customisations that you have done in all these years aside and follow along.</p>
<p>Installing Emacs is easy. On an <a href="http://ubuntu.com">Ubuntu</a> system, do this -</p>
<p><code>$ sudo apt-get install emacs-snapshot-gtk</code></p>
<p>That will install Emacs 23 for you. You will also need a few other things -</p>
<p><code>$ sudo apt-get install sun-java6-jdk ant git-core</code></p>
<p>You will need the JDK and <a href="http://ant.apache.org/">Ant</a> to build and run Clojure (it runs on the JVM, remember?) and <a href="http://git-scm.com/">Git</a> to fetch the Clojure an other related libraries.</p>
<p>Now to setup Emacs, we will use a brilliant set of Emacs Lisp libraries aptly named <a href="http://github.com/technomancy/emacs-starter-kit/">Emacs Starter Kit</a> (ESK). To get it, do this -</p>
<p><code>$ git clone git://github.com/technomancy/emacs-starter-kit.git ~/.emacs.d</code></p>
<p>That will get the ESK and will put it in your <code>~/.emacs.d</code> (existing Emacs users, please move your <code>~/.emacs</code> and <code>~/.emacs.d</code> to some other location before doing this. You can get back your old settings later).</p>
<p>What ESK does is that it provides a bunch of sane defaults for pretty much everything in Emacs. You can safely use it and get a very usable Emacs setup almost immediately.</p>
<p>You can now launch Emacs by going to <code>Applications &gt; Accessories</code> and selecting Emacs Snapshot Gtk. Once Emacs has started up, install the Emacs Clojure libraries by typing <code>M-x package-list-packages</code>. That will start up a buffer with a bunch of Emacs packages. Go to the line that says <code>clojure-mode</code> in it and press <code>i</code>. Then press <code>x</code> to install the package. Once that&#8217;s done you are ready to install Clojure. Now type <code>M-x clojure-install</code> and it will prompt you for a directory to install Clojure. Just press Enter for now and let it proceed. You can always change these things later.</p>
<p>That will fetch the Clojure runtime and also a few other useful libraries like <code>clojure-contrib</code> and will install them inside <code>~/src</code>.</p>
<p>Once that is done, you can type <code>M-x slime</code> to start Clojure inside your Emacs. Play around with it and learn the various key-bindings for <a href="http://common-lisp.net/project/slime/">Slime</a> and <a href="http://www.emacswiki.org/emacs/ParEdit">Paredit</a> which is a fantastic system for doing Lisp development. Paredit is so good that it makes all those parentheses just vanish in thin air. But yes, it takes a bit getting used to which you can achieve with some practice. One tip is to type <code>C-h m</code> in Emacs to see the documentation of all the modes that are currently active. This gives a good overview of all the key-bindings and the functions bound to those keys.</p>
<p>To develop slightly more complex Clojure applications, you need to use different dependencies with your own code. Since Java has its own <a href="http://en.wikipedia.org/wiki/Classpath">classpath</a> related quirkiness it can become a slightly complicated task. But then, there is cool function in Emacs Starter Kit called <code>clojure-project</code> which will make your life easy.</p>
<p>To use it all you need to do is to follow this simple directory structure and the rest will be taken care of automagically. The directory structure should be like this -<br />
<code><br />
myproject<br />
|-- lib<br />
|-- src<br />
|-- target<br />
|   |-- classes<br />
|   `-- dependency<br />
`-- test<br />
</code></p>
<p>Copy the Clojure &amp; Clojure Contrib (or any other dependency) JAR files into <code>lib</code> (you also alternately use a build system like <a href="http://maven.apache.org/">Maven</a> to manage dependencies for you in which case you should consider configuring the build system to copy the dependencies into <code>target/dependency</code>). Keep all your code inside <code>src</code> and tests inside <code>test</code>. The <code>src</code> and <code>test</code> directories should contain namespaces like <code>foo.bar</code> &amp; <code>foo.bar.test</code> respectively (you can later use <code>clojure-test-mode</code> to automatically pick up the tests and run them quickly). So when you run <code>M-x clojure-project</code>, it will ask you for a directory name. Give it the name of the project directory and boom! Emacs will launch Slime with the right classpath settings.</p>
<p>If you want to customise any Emacs setting, just create a file with your current system login id called <code>&lt;username.el&gt;</code> inside <code>~/.emacs.d</code> and it will be automatically loaded when you restart Emacs. If you use additional libraries, create a directory with your username inside the same directory and everything inside will be in the Emacs load-path. Nifty, right?</p>
<p>So that&#8217;s all required to setup Emacs for Clojure. Join the Clojure <a href="http://groups.google.com/group/clojure">mailing list</a> to communicate with the Clojure community. Do check the Emacs <a href="http://emacswiki.org">Wiki</a> in case you have any queries about Emacs.</p>
<p>Above all, have fun. That&#8217;s what we are here for.</p>
<p>By the way, I am <a href="http://twitter.com/ghoseb">@ghoseb</a> on Twitter and I think <a href="http://twitter.com/ghoseb">you should follow me</a> <img src='http://freegeek.in/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>UPDATE: Fixed a factual inconsistency regarding the paths used for <code>clojure-project</code>. Thanks to <a href="http://technomancy.us/">Phil</a> (the creator of ESK &amp; <code>clojure-project</code>) for pointing this out!</p>
]]></content:encoded>
			<wfw:commentRss>http://freegeek.in/blog/2009/08/setting-up-emacs-clojure-with-emacs-starter-kit/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
	</channel>
</rss>

