Help with where syntax in Julia v0.6

Thank you @ScottPJones, I thought your code snippet was working already in Julia v0.6, I had sketched similar answer in the past on this forum: Recovering parameter type from parameter list - #5 by juliohm

I really miss this feature in Julia.