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

Match generic to comparable #20

Open
stil4m opened this issue Feb 21, 2017 · 3 comments
Open

Match generic to comparable #20

stil4m opened this issue Feb 21, 2017 · 3 comments

Comments

@stil4m
Copy link

stil4m commented Feb 21, 2017

I've tried to search for a function with the following signature:

List a -> Set a

But no results were returned. Is it an idea to match comparable with a as well? People who do not know comparable may get confused that there is no function to map a List to a Set.

@klaftertief
Copy link
Owner

The search does not return any results as the Dict type needs two arguments. I have some plans to make this a little bit more flexible, so I'll keep this issue open as an example.

@stil4m
Copy link
Author

stil4m commented Feb 21, 2017

I do not understand how this relates to the number of arguments?
You want to tackle this with another issue?

@klaftertief
Copy link
Owner

Sorry, I misread your example query and swapped Set and Dict in my head.
The changes in the aforementioned plans should improve this, but depend on some structural changes...
Thanks for reporting the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants