Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ToLookup #20

Open
isc30 opened this issue Mar 1, 2018 · 1 comment
Open

ToLookup #20

isc30 opened this issue Mar 1, 2018 · 1 comment
Assignees
Labels

Comments

@isc30
Copy link
Owner

isc30 commented Mar 1, 2018

A lookup is a 1:many inmutable map (multi-map; each key is mapped to an IQueryable<> of the values with that key).

Proposed definition:

toLookup<TKey extends Indexer, TValue>(
        keySelector: Selector<TOut, TKey>,
        valueSelector: Selector<TOut, TValue>)
        : IDictionary<TKey, IQueryable<TValue>>;

Can be implemented in a very similar way to GroupBy from List class

@isc30 isc30 created this issue from a note in v1.0 - First basic version (To Do) Mar 1, 2018
@isc30 isc30 added help wanted feature request nice first issue easy issue for new contributors and removed help wanted labels Mar 1, 2018
@mkonicki
Copy link

I will take that

@isc30 isc30 self-assigned this Apr 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants