On Wednesday, 8 May 2013 at 18:41:27 UTC, Jonathan M Davis wrote:
It probably _should_ document that it's returning a range. Voldemort typesjust make it so that the exact type is unknown.
So why not just declare "SomeRange generator()"? It still doesn't leak out the internal struct and any automatic doc generator should have a easier time extracting the type. There must be something I'm missing.