... and now that&#39;s done :-). You can use whatever methods you want now, and it also solves the annoying issue when importing both Web.Routes.Quasi and Network.Wai.<div><br></div><div>Michael<br><br><div class="gmail_quote">
On Sun, Apr 4, 2010 at 10:16 AM, Michael Snoyman <span dir="ltr">&lt;<a href="mailto:michael@snoyman.com">michael@snoyman.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Because I want to eventually get rid of the Method datatype entirely and allow arbitrary methods ;).<div><br></div><div><font color="#888888">Michael</font><div><div></div><div class="h5"><br><br><div class="gmail_quote">
On Sat, Apr 3, 2010 at 9:53 AM, Peter Robinson <span dir="ltr">&lt;<a href="mailto:thaldyron@gmail.com" target="_blank">thaldyron@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Nice work!<br>
<br>
Is there a specific reason for excluding HEAD and OPTIONS?<br>
<font color="#888888"><br>
  Peter<br>
</font><div><div></div><div><br>
On 3 April 2010 00:51, Michael Snoyman &lt;<a href="mailto:michael@snoyman.com" target="_blank">michael@snoyman.com</a>&gt; wrote:<br>
&gt; web-routes-quasi is now at the point where it can be used for sites, and I&#39;d<br>
&gt; love to hear some feedback. I&#39;ve put together a little sample that<br>
&gt; demonstrates how you can use quasi-quoting and define your routes, embed<br>
&gt; subsites and serve the resulting application via WAI. (My example uses WAI,<br>
&gt; but the package itself is not tied to WAI.)<br>
&gt; The code is on github[1]; the main function for the blog is in blog.hs (with<br>
&gt; the lowercase b). I believe this just depends on Jeremy&#39;s web-routes<br>
&gt; package, wai and wai-extra.<br>
&gt; Note that I did not use web-routes-wai; I think there are some problems in<br>
&gt; there for breaking up the pathinfo, and I didn&#39;t have time to dig through<br>
&gt; it. Also, this package currently ignores entirely the defaultPage component<br>
&gt; of Site, though if there is desire support can be added for it.<br>
&gt; One minor bug is that you can&#39;t have an alternate GET, POST, PUT or DELETE<br>
&gt; constructor imported; hopefully that will get cleaned up.<br>
&gt; Any comments and suggestions are welcome! My goal is to port Yesod over to<br>
&gt; this as soon as the web-routes set of packages are released, so if you&#39;re<br>
&gt; interested in Yesod, you should be interested in this too ;).<br>
&gt; Michael<br>
&gt; [1] <a href="http://github.com/snoyberg/web-routes-quasi" target="_blank">http://github.com/snoyberg/web-routes-quasi</a><br>
</div></div><div><div></div><div>&gt; _______________________________________________<br>
&gt; web-devel mailing list<br>
&gt; <a href="mailto:web-devel@haskell.org" target="_blank">web-devel@haskell.org</a><br>
&gt; <a href="http://www.haskell.org/mailman/listinfo/web-devel" target="_blank">http://www.haskell.org/mailman/listinfo/web-devel</a><br>
&gt;<br>
&gt;<br>
</div></div></blockquote></div><br></div></div></div>
</blockquote></div><br></div>