Atif Aziz
Atif Aziz
The eager execution nature of the operator, which is the motivation behind it, would still not be explicit. `Select` also has side effects. I may be (very) colored from my...
Perhaps we can settle on this one with `Do` as Interactive Extensions (Ix) does? FWIW, at least it will provide some consistency (at the risk of issue #60 expanding for...
`@tormod`: The `Pipe` operator _doesn't_ execute eagerly. It _is_ lazy - the motivation isn't to make it execute eagerly, it's to add a side-effect. Your statement of: > `WithSideEffects` suggests...
@atifaziz: I would suggest that projects using both MoreLINQ and Ix are going to have a lot of duplication already. Personally I wouldn't want to use the two together -I...
Oh, I am sorry. I have now looked at the code and I agree that "Do" seems to be the correct choice. I am not saying that this is necessarily...
Is this project still alive? If so, and feedback is still appreciated, can I suggest something along the lines of `OnEnumerate`, `WhenEnumerated`, or if you like it really verbose `WhenEnumeratedPerform`?...
@JamesFaix I think it would be reasonable/sensible at this stage to borrow [`Do` from Rx](https://msdn.microsoft.com/en-us/library/system.reactive.linq.observable.do%28v=vs.103%29.aspx?f=255&MSPPError=-2147217396) here and move on.
You can achieve this with `GroupBy` from LINQ composed with [`Partition`](https://morelinq.github.io/3.2/ref/api/html/M_MoreLinq_MoreEnumerable_Partition__3_3.htm) from MoreLINQ: ```c# var nums = new[] { 0, 1, -1, 2, -2, 3, -3 }; var (evens, odds,...
> GroupBy will consume the full sequence on first iteration. So `ports` is an array of sequences: > * `ports[0]` yield the sequence {0,2} > * `ports[1]` yield the sequence...
Perhaps something is missing in my understanding but I don't see how you can do this with sequences that are _lazy._ Also, your return value is a read-only list (of...