Groovy has a power assert, but I'd like a power print. For example,
def foo = 'banna5', monkey=7, x=70
println "foo=$foo, monkey=$monkey, x/2=${x/2}"
See the repeating foo, monkey, and expression in the println line... what I want to type is this,
pprint foo, monkey, x/2
This is the output I expect (from either println or pprintln),
foo=banna5, monkey=7, x/2=35
Is there a ditty that does this already?