[stringtemplate-interest] auto-flattening lists
Johannes Luber
jaluber at gmx.de
Fri Nov 9 04:04:03 PST 2007
Terence Parr wrote:
> What is correct functionality? If you send in a list of names and
> then "Ter", should it add "Ter" to the list or should the attribute
> be a 2-element list with a list as first element and string as 2nd?
I'd expect the same behaviour as from collections, which are initialized
with another collection first. Adding extra elements means appending to
the internal list, resulting in a flat n+1 list.
Johannes
More information about the stringtemplate-interest
mailing list