Closed robrix closed 9 years ago
I’m not wrapping things in ReducibleOf<T>
any more; that just makes iterators out of them, which is a bad idea.
I’m also not attempting to find a resolution to #26 on this PR any more; I have an idea why it’s happening now at least.
The original intent was:
sequence<R: ReducibleType>(reducible: R) -> SequenceOf<R.Element>
so that arbitrary reducibles can easily be iterated usingfor
/in
.ReducibleOf
’s conformance toSequenceType
, resolving the ambiguity described in #18.Then I got sidetracked trying to wrap
ReducerOf
inReducibleOf
and finding that this made concatenation reduce out of order. cf #26.