isc30 / linq-collections

Strongly typed Linq and Collections implementation for Javascript and TypeScript (ECMAScript 5)
https://www.npmjs.com/package/linq-collections
MIT License
119 stars 12 forks source link

Zip #29

Closed isc30 closed 6 years ago

isc30 commented 6 years ago

Applies a specified function to the corresponding elements of two sequences, producing a sequence of the results.

Proposed definition:

zip<TOther, TSelector>(
    other: TOther[] | IQueryable<TOther>,
    selector: (TOut, TOther) => TSelector): IEnumerable<TSelector>;

Uses deferred execution

Tholdrim commented 6 years ago

I am working on it!