Again I have a newbie Links question.
If I write an expression like this:
<tr>
{ replicate(n, <td/>) }
<td>Another table cell</td>
</tr>
I get an error like this:
example.links:53: Type error: XML child nodes must have type `Xml', but the
expression
`{ replicate(n, <td/>) }'
has type
`[Xml]'
I can work around the problem by wrapping the offending expression with
for (item <- expr) item
Is there a more direct workaround that I've forgotten?
Thanks!
Ezra
_______________________________________________
links-users mailing list
[email protected]
http://lists.inf.ed.ac.uk/mailman/listinfo/links-users