Earlier quoted context omitted.
Scala had XML literals as part of the language! Apparently Philip Wadler was the person who told them needed it, because the future was XML. ( Walder is big Haskell/PL person)
Was it far from JSX?
An XML literal in Scala would have been:
// XML literals (to be dropped)
val mails1 = for (from, to, heading, body)
{from}{to}
{heading}{body}
println(mails1)
This was replaced with "XML string interpolation", which // XML string interpolation
val mails2 = for (from, to, heading, body)
${from}${to}
${heading}${body}
"""
println(mails2)