Re: html quasiquoter

Jan Wielemaker <[email protected]>
Newsgroups gmane.comp.ai.prolog.swi
Message-ID <[email protected]>
On 07/21/2013 07:27 PM, Anne Ogborn wrote:
> which means doing
> 
> foo -->
>       html([   p('some stuff'), \html({|html(Bar)||<p>Bar</p>|}) ]).
> _______________________________________________

\html(Term) is just the same as Term, so

	html([ p('some stuff'), {|html(Bar)||<p>Bar</p>|}])

should work as well.  Of course, this use is quite unlikely.  What
I'm wondering is whether it would not be a better idea to make
{|html||...|} return html(Term), so you can use it in the HTML
body without embedding it into html//1.

	Cheers --- Jan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.