an-cabal / an-rope

an rope data structure
https://docs.rs/an-rope
MIT License
11 stars 2 forks source link

Change rope indexing to use RangeArgument #3

Open hawkw opened 7 years ago

hawkw commented 7 years ago

We should be able to re-write our multiple implementations of indexing a Rope with a Range to use the RangeArgument trait, hopefully reducing a lot of boilerplate.

hawkw commented 7 years ago

We may not actually want to do this since we have our own Slice type now; we might just want to remove the range indexing functions & add more functionality to our slices?