Hi,
Le 9 novembre 2018 à 22:36, Christoph Rüger <[email protected]> a écrit : Am Fr., 9. Nov. 2018 um 22:55 Uhr schrieb Daniel Dekany <[email protected] : It's certainly tricky, but as far as I see possible (but then, who knows what will one find when actually working on it). It's also a feature missing a lot. It's especially missing for #list (I know that you need it for something else), because if you filter the items inside #list with #if-s, then #sep, ?hasNext, etc. will not be usable. Let me say that I disagree here. I do not think that closures are required for FreeMarker, nor that they are a good idea. If we add new features to the FreeMarker *tempate engine* I would rather we focus on multi-part macro body rather than an advanced language feature like closures. You can add ?filter and ?map if you want, a simple expression as parameter should be enough. Cheers, -- Denis.
