I'd like to be able to say, for instance:
...using a string-returning function anywhere I can use a string (others: strftime, concat, join). Today I can do this by creating a temporary intermediate variable, so there is no technical impediment, it's just syntactic sugar. But it would make the policy language a bit easier to use, which is a good thing.
Mailing list discussion: https://groups.google.com/d/msg/dev-cfengine/kDt0tAAcUis/VCbdhqBj4HcJ