<div dir="ltr">Unfortunately, it really does require 6.12. The issue is that we need to automatically generate a type instance for &quot;Routes&quot;. While 6.10 supports type instances, it doesn&#39;t include that support in the template haskell.<div>
<br></div><div>If people are interested, I think it would be possible to make the Routes type instance dependent upon the template-haskell version number, and then users would need to declare it themselves.</div><div><br>
</div><div>By the way, I actually just released web-routes-quasi 0.3.0.</div><div><br></div><div>Michael<br><br><div class="gmail_quote">On Sun, May 23, 2010 at 12:44 AM, Arie Peterson <span dir="ltr">&lt;<a href="mailto:ariep@xs4all.nl">ariep@xs4all.nl</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">On Sat, 22 May 2010 20:42:51 +0300, Michael Snoyman &lt;<a href="mailto:michael@snoyman.com">michael@snoyman.com</a>&gt;<br>

wrote:<br>
&gt; [...]<br>
<div class="im">&gt;<br>
&gt; Note: right now it depends on web-routes-quasi 0.3.0, which has not yet<br>
&gt; been<br>
&gt; released, so you&#39;ll have to pull that from the github repo.<br>
<br>
</div>In order to test my proposed solution (see below), I tried building<br>
web-routes-quasi 0.3.0 from git, but I get another cabal version conflict<br>
failure:<br>
<br>
| Resolving dependencies...<br>
| cabal: cannot configure template-haskell-2.4.0.1. It requires base &gt;=4.2<br>
&amp;&amp; &lt;5<br>
| For the dependency on base &gt;=4.2 &amp;&amp; &lt;5 there are these packages:<br>
base-4.2.0.0<br>
| and base-4.2.0.1. However none of them are available.<br>
| base-4.2.0.0 was excluded because of the top level dependency base -any<br>
| base-4.2.0.1 was excluded because of the top level dependency base -any<br>
<br>
I assume this means that it needs ghc 6.12 (which I haven&#39;t installed<br>
yet). Do you really need template-haskell-2.4.*, or would 2.3.* suffice as<br>
well? In that case you could relax the version constraint.<br>
<div class="im"><br>
&gt; On Sat, May 22, 2010 at 7:32 AM, James Britt &lt;<a href="mailto:james@neurogami.com">james@neurogami.com</a>&gt;<br>
wrote:<br>
&gt;<br>
</div><div class="im">&gt;&gt; james@james06:~/data/vendor/yesod$ runhaskell Setup.lhs configure<br>
--user<br>
&gt;&gt; Configuring yesod-0.2.0...<br>
&gt;&gt; Warning: This package indirectly depends on multiple versions of the<br>
same<br>
&gt;&gt; package. This is highly likely to cause a compile failure.<br>
&gt;&gt; package http-wget-0.6.2 requires transformers-0.1.4.0<br>
&gt;&gt; package control-monad-attempt-0.3.0 requires transformers-0.1.4.0<br>
&gt;&gt; package authenticate-0.6.2 requires transformers-0.1.4.0<br>
&gt;&gt; package yesod-0.2.0 requires transformers-0.2.1.0<br>
&gt;&gt; package MonadCatchIO-transformers-0.2.2.0 requires transformers-0.2.1.0<br>
&gt;&gt;<br>
</div>&gt;&gt; [...]<br>
&gt;&gt;<br>
&gt;&gt; Suggestions?<br>
<br>
&gt;From a quick look at the source of yesod, it /seems/ that it may work with<br>
MonadCatchIO-transformers-0.1.* as well. Is there any reason yesod asks for<br>
&gt;=0.2.2 ? If not, relaxing this version constraint might fix things.<br>
<br>
<br>
Regards,<br>
<font color="#888888"><br>
Arie<br>
</font><div><div></div><div class="h5"><br>
_______________________________________________<br>
web-devel mailing list<br>
<a href="mailto:web-devel@haskell.org">web-devel@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/web-devel" target="_blank">http://www.haskell.org/mailman/listinfo/web-devel</a><br>
</div></div></blockquote></div><br></div></div>