fun remove(item, items) { switch (items) { case [] -> [] case x::xs -> if (item == x) xs else x::remove(item, xs) } } fun dummy() client { () } fun todo(items) {
{for (item <- items) }
{stringToXml(item)}
} fun main() { page <#>{todo(["add items to todo list"])} } main()