[web-devel] Yesod: Lambda Abstraction inside interpolation

Michael Snoyman michael at snoyman.com
Sun May 15 12:58:27 CEST 2011


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.

Michael

On Sun, May 15, 2011 at 11:48 AM, Mathew de Detrich <deteego at gmail.com>wrote:

> 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?
>
> Thanks
>
> _______________________________________________
> web-devel mailing list
> web-devel at haskell.org
> http://www.haskell.org/mailman/listinfo/web-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/web-devel/attachments/20110515/eca1b9bd/attachment.htm>


More information about the web-devel mailing list