Looks interesting. It is a bit hard to read and immediately make sense of. Maybe this comes with practice.<p>I think it's important not to load up on too many esoteric tricks or the code base becomes expensive to maintain (time/money).<p>I'm more inclined to build a small toolkit for common transforms like this at the point of usage.