Closed molpopgen closed 3 years ago
We should have two iterator types. The first is over the head list, and is reversible. The second is over a forward linked list.
Doing this right is a bit tricky/tedious. The simplification code uses the current callback method.
It would be preferable to have a means of iterating a list via
Iterator
rather than the current callback method (which we should deprecate).