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

Suggest absent type variables #14

Open
ghost opened this issue Jan 2, 2017 · 1 comment
Open

Suggest absent type variables #14

ghost opened this issue Jan 2, 2017 · 1 comment

Comments

@ghost
Copy link

ghost commented Jan 2, 2017

It's easy to forget about type variables when searching, e.g. "List -> Bool" should be "List a -> Bool". Searching for "List -> Bool" just returns "No results found.", I guess because it's not valid Elm. It'd be great if it said "Did you mean List a -> Bool?".

@klaftertief
Copy link
Owner

Thanks for the input.
Some known core types could be put in a list for special treatment like that, or the search could be more relaxed for type variables. Let me think about this a bit.

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

1 participant