Cool. I agree that other types would be interesting, but as you said, implementation is a little tricky.<div><br></div><div>I&#39;m still in the process of modifying it as I integrate it with Yesod. In particular, support for subsites is getting better. I&#39;m hoping it gets to the point of proper web plugins.</div>
<div><br></div><div>Michael<br><br><div class="gmail_quote">On Fri, Apr 16, 2010 at 4:09 PM, Jeremy Shaw <span dir="ltr">&lt;<a href="mailto:jeremy@n-heptane.com">jeremy@n-heptane.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div style="word-wrap:break-word">Hello,<div><br></div><div>I poked at it a bit, but don&#39;t have anything especially interesting to say.</div><div><br></div><div>Obviously, I would like it if there was ways to do things like map integers to newtyped values. Or to allow the use of &#39;variables&#39; other than strings and ints. But, I am not actually clear that those things can be implemented :)</div>
<div><br></div><div>Once I actually try to use quasi for a project I will likely have more feedback.</div><div><br></div><font color="#888888"><div>- jeremy</div></font><div><div></div><div class="h5"><div><br><div><div>On Apr 2, 2010, at 5:51 PM, Michael Snoyman wrote:</div>
<br><blockquote type="cite">web-routes-quasi is now at the point where it can be used for sites, and I&#39;d love to hear some feedback. I&#39;ve put together a little sample that demonstrates how you can use quasi-quoting and define your routes, embed subsites and serve the resulting application via WAI. (My example uses WAI, but the package itself is not tied to WAI.)<div>
 <br></div><div>The code is on github[1]; the main function for the blog is in blog.hs (with the lowercase b). I believe this just depends on Jeremy&#39;s web-routes package, wai and wai-extra.</div><div><br></div><div>Note that I did not use web-routes-wai; I think there are some problems in there for breaking up the pathinfo, and I didn&#39;t have time to dig through it. Also, this package currently ignores entirely the defaultPage component of Site, though if there is desire support can be added for it.</div>
 <div><br></div><div>One minor bug is that you can&#39;t have an alternate GET, POST, PUT or DELETE constructor imported; hopefully that will get cleaned up.</div><div><br></div><div>Any comments and suggestions are welcome! My goal is to port Yesod over to this as soon as the web-routes set of packages are released, so if you&#39;re interested in Yesod, you should be interested in this too ;).</div>
 <div><br></div><div>Michael</div><div><br></div><div>[1] <a href="http://github.com/snoyberg/web-routes-quasi" target="_blank">http://github.com/snoyberg/web-routes-quasi</a></div></blockquote></div><br></div></div></div>
</div></blockquote></div><br></div>