Also added some more stuff to allow wild-card templates, and updated help files.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2014-11-07
Hm, I'd rather punt on empty-symbol syntax for positional args. I think future use of commas in args to specify post-init-time methods solves that problem more elegantly.
In the meantime, what about separating this out into two methods-- "template" for setting the template name, and "field" for setting the field? That way [template(--[set foo bar] would set the template to empty-symbol and perhaps trigger the wildcard behavior.
The downside is you'd have to do [template(---[set foo bar bee boo] when you want to set an empty template for multiple fields, as opposed to just [set - bar bee boo]. (But that's the same with setting an empty symbol in [select].)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Also added some more stuff to allow wild-card templates, and updated help files.
Hm, I'd rather punt on empty-symbol syntax for positional args. I think future use of commas in args to specify post-init-time methods solves that problem more elegantly.
In the meantime, what about separating this out into two methods-- "template" for setting the template name, and "field" for setting the field? That way [template(--[set foo bar] would set the template to empty-symbol and perhaps trigger the wildcard behavior.
The downside is you'd have to do [template(---[set foo bar bee boo] when you want to set an empty template for multiple fields, as opposed to just [set - bar bee boo]. (But that's the same with setting an empty symbol in [select].)