Another tour of Scala

 
 
 
 

Xml Literals

Viewing old version 2f49c8f5026587bfa240d7e5095c0e450ae7e056; View Current

Scala supports XML literals. Meaning that this program:

outputs this:

.pre

Hello Literals!

Literals are handy

They keep you from having to using unnecessary quotes.


Last Updated 07/25/2009 at 02:08:01 PM by davec

blog comments powered by Disqus