[stringtemplate-interest] folding with template application

Wesley Smith wesley.hoke at gmail.com
Tue Jan 3 11:22:34 PST 2012


Is there an idiom in StringTemplate for apply a fold operation over a
list?  Let's say I have ["f", "g"].  I'd like to generate f(g()).  I'm
not seeing how to make use of the map operation to accumulate results
recursively into a list to generate the fold operation.  Any ideas?

thanks,
wes


More information about the stringtemplate-interest mailing list