blachlylab / dhtslib

D bindings and OOP wrappers for htslib
MIT License
7 stars 1 forks source link

Make iterator-wrapping Ranges into Forward Ranges #110

Closed charlesgregory closed 2 years ago

charlesgregory commented 2 years ago

Since htslib iterators inherently can "save" their place, we should make them forward ranges with a save method. This will make them more useful in conjunction with the D std library. Should be pretty simple to implement.