[
https://issues.apache.org/jira/browse/FREEMARKER-192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17421963#comment-17421963
]
Sebastian Schuberth commented on FREEMARKER-192:
------------------------------------------------
Actually, the obvious solution to make this is non-breaking change is to make
"list beginning" the *last* parameter, and provide an empty default value for
it. Of course, it might be a bit confusing to have "list beginning" after "list
ending", but I believe the value of having this parameter at all outweighs that
minor inconvenience.
> Add a "list beginning" parameter to "join" for sequences
> --------------------------------------------------------
>
> Key: FREEMARKER-192
> URL: https://issues.apache.org/jira/browse/FREEMARKER-192
> Project: Apache Freemarker
> Issue Type: Improvement
> Reporter: Sebastian Schuberth
> Priority: Minor
>
> The "join" built-in on sequences already has a "list ending" optional
> parameter. It should have a corresponding "list beginning" optional parameter
> to conveniently print headers only for non-empty sequences.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)