I feel gpath is out of place. I see the intention to capture common pattern, but the operation has nothing specific to generators; it is just another function composition operator (sort of).