<div dir="ltr">Let me put it this way: I think that lambdas would definitely belong to the "complicated Hamlet" category.<div><br></div><div>Michael<br><br><div class="gmail_quote">On Mon, May 16, 2011 at 4:47 AM, Mathew de Detrich <span dir="ltr"><<a href="mailto:deteego@gmail.com">deteego@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Ok sure, as I side note is this specifically because of the way that the hamlet parser was coded or because of design reasons (because one line lamda's in hamlet are *really* handy for obvious reasons)<div>
<div></div><div class="h5"><br><br><div class="gmail_quote">
On Sun, May 15, 2011 at 8:58 PM, Michael Snoyman <span dir="ltr"><<a href="mailto:michael@snoyman.com" target="_blank">michael@snoyman.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hamlet doesn't universally accept all Haskell syntax, lambdas being one example. We're discussing the possibility of having another dialect of Hamlet that supports much more syntax. But the "base" Hamlet will likely not be supporting such things.<div>
<br></div><div>Michael<br><br><div class="gmail_quote"><div>On Sun, May 15, 2011 at 11:48 AM, Mathew de Detrich <span dir="ltr"><<a href="mailto:deteego@gmail.com" target="_blank">deteego@gmail.com</a>></span> wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
I came across a situation where I tried using lambda abstraction inside variable/template interpolation (when adding html with hamlet) and found out that the quasi quoter inside hamlet had issues parsing lambda abstractions (I am assuming due to the use of the '\' character). Is there some way to do lamdba abstraction inside hamlet quasiquoter, and if not will there be support added for this?<div>
<br></div><div>Thanks</div>
<br></div>_______________________________________________<br>
web-devel mailing list<br>
<a href="mailto:web-devel@haskell.org" target="_blank">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>
<br></blockquote></div><br></div></div>
</blockquote></div><br>
</div></div></blockquote></div><br></div></div>