The most elegant solutions look inevitable in retrospect. They aren't some complex chain of tricks you've engineered out of nothing, but rather a simple abstraction that faithfully mirrors the shape of the problem.