<br><div class="gmail_quote">On Thu, Apr 8, 2010 at 14:00, Bernie Pope <span dir="ltr">&lt;<a href="mailto:florbitous@gmail.com">florbitous@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<div><div></div><div class="h5">On 8 April 2010 19:00, Sean Leather &lt;<a href="mailto:leather@cs.uu.nl">leather@cs.uu.nl</a>&gt; wrote:<br>
&gt; I created a few tools to help me manage multiple GHC distributions in a Bash<br>
&gt; shell environment. Perhaps it&#39;s useful to others.<br>
&gt;<br>
&gt;   <a href="http://github.com/spl/multi-ghc" target="_blank">http://github.com/spl/multi-ghc</a><br>
&gt;<br>
&gt; Feedback welcome. I&#39;d also like to know if something similar exists.<br><br></div></div>
I wonder if you could achieve the desired result with the &quot;Modules Project&quot;:<br>
<br>
   <a href="http://modules.sourceforge.net/" target="_blank">http://modules.sourceforge.net/</a><br>
<br>
We use it at work for managing multiple versions of lots of different<br>
programs on a shared machine.<br></blockquote><div><br>It looks interesting! Thanks.<br><br>It makes me sad to see it written in Tcl. I spent way too much time with the language at my last job and did not enjoy it. But I grant that that is not a reason to avoid using it.<br>

<br>I actually started out doing as they do, changing the PATH, but I decided that was not a great solution for two reasons:<br>(1) It&#39;s inflexible and precludes the ability to set my PATH as I like.<br>(2) It requires sourcing a script instead of executing it. I didn&#39;t like having no separation between my environment and the script&#39;s environment. It was too easy to introduce spurious environment variables.<br>

<br>It would be nice if such a tool can potentially be written to work on Windows as well.<br><br>Regards,<br>Sean<br></div></div>