...
Info | ||
---|---|---|
| ||
I'm a little uncomfortable with this concatenation operation. Please use a template instead :
|
...
As of 2.2, you may define formal arguments on anonymous templates even if you are not using StringTemplate
groups. This syntax is borrowed from SmallTalk Smalltalk though it is identical in function to lambda
of Python. Use a comma-separated list of argument names followed by the '|
' "pipe" symbol. Any single whitespace character immediately following the pipe is ignored. The following example bolds the names in a list using an argument to avoid the monotonous use of it
:
...