Data.Sequence
has takeWhileR
and dropWhileR
for efficient deconstruction of Seq
s from the right. However, takeR
, dropR
and splitAtR
are conspicuously absent. take
and drop
are implemented in terms of splitAt
. So, do finger trees not admit an efficient splitAtR
or was this functionality not included for some other reason?
(Separate but somewhat related question: Would a naive dropR
implementation in terms of viewR
perform decently well?)
This question is based on containers-0.5.6.3
.