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

No clause for gradualizer_lib:pick_value(module()) #536

Open
erszcz opened this issue May 8, 2023 · 2 comments
Open

No clause for gradualizer_lib:pick_value(module()) #536

erszcz opened this issue May 8, 2023 · 2 comments
Labels

Comments

@erszcz
Copy link
Collaborator

erszcz commented May 8, 2023

Clone of esl/gradient#169.

@erszcz erszcz added the bug label May 8, 2023
@erszcz
Copy link
Collaborator Author

erszcz commented May 8, 2023

Related to #530.

@zuiderkwast
Copy link
Collaborator

module() is an alias for atom(). It doesn't make sense to add clauses for all aliases.

Can we add a catch-all that tries to normalize the type and, if it wasn't already normalized, calls pick_value on the normalized type?

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

No branches or pull requests

2 participants