Wolverian wrote:
Or maybe we don't need such an adverb at all, and instead use
$fh.seek($fh.end - 10);
I'm a pretty high level guy, so I don't know about the performance
implications of that. Maybe we want to keep seek() low level, anyway.
Any thoughts/decisions?
We should approach this from the perspective that $fh is an iterator, so
the general problem is "how do we navigate a random-access iterator?".
I have a feeling that the "correct" semantics are closer to:
$fh = $fh.file.end - 10
though the short form ($fh = $fh.end - 10) is a reasonable shortcut.