<p>I&#39;ll give another recommendation for virthualenv, I&#39;ve taken to using it for just about everything I do because it keeps my repo clean. It&#39;s slightly inefficient in that you can end up with many copies of common libraries, not to mention a full ghc install for every project, but HD space is cheap, and it saves you time trying to resolve library conflicts down the line.</p>

<div class="gmail_quote">On Feb 20, 2012 9:16 AM, &quot;David McBride&quot; &lt;<a href="mailto:toad3k@gmail.com">toad3k@gmail.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
If you want to test something, there are several packages for doing<br>
that. cabal-dev and virthualenv both set up repositories in your<br>
current directory, allowing you to cabal install packages willy nilly<br>
without affecting your global package database.  I personally prefer<br>
virthualenv (not the spelling), but both are very good programs.<br>
<br>
On Mon, Feb 20, 2012 at 2:33 AM, AbdulSattar Mohammed<br>
&lt;<a href="mailto:codingtales@gmail.com">codingtales@gmail.com</a>&gt; wrote:<br>
&gt; I just submitted a patch to Wai, but I didn&#39;t like the process I went<br>
&gt; through while testing it on my machine.<br>
&gt;<br>
&gt; I cloned the repo, modified it and ran<br>
&gt;<br>
&gt; runghc Setup configure --prefix=$HOME --user<br>
&gt; runghc Setup install<br>
&gt;<br>
&gt; That registered as something like wai-2.1.1.1. ( I don&#39;t know what it<br>
&gt; exactly looked like, but it appended a &quot;.1&quot; to the previous version.)<br>
&gt; When I ran my test code, it used the latest version. Fine.<br>
&gt;<br>
&gt; But, is this the way everyone does that? I mean, adding a new version?<br>
&gt; I can&#39;t think of any other way, but I&#39;m just against registering the<br>
&gt; package into the GHC registry. How does everyone do that?<br>
&gt;<br>
&gt; --<br>
&gt; Warm Regards,<br>
&gt;<br>
&gt; AbdulSattar Mohammed<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Beginners mailing list<br>
&gt; <a href="mailto:Beginners@haskell.org">Beginners@haskell.org</a><br>
&gt; <a href="http://www.haskell.org/mailman/listinfo/beginners" target="_blank">http://www.haskell.org/mailman/listinfo/beginners</a><br>
<br>
_______________________________________________<br>
Beginners mailing list<br>
<a href="mailto:Beginners@haskell.org">Beginners@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/beginners" target="_blank">http://www.haskell.org/mailman/listinfo/beginners</a><br>
</blockquote></div>