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

Specialize Sublist type #90

Merged
merged 1 commit into from
Sep 13, 2024
Merged

Conversation

isaacvando
Copy link
Contributor

I mentored a solution to this exercise where the user ended up with sublist : List I32, List I32 -> [Equal, Sublist, Superlist, Unequal] where a implements Eq as their type which I don't think should be allowed by the compiler. I think it would be best to keep types the types fully specialized by default so that they are very straightforward for the users and we don't have to introduce abilities unnecessarily.

Copy link
Contributor

@ageron ageron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed, thanks @isaacvando

@ageron ageron merged commit 03e6ba8 into exercism:main Sep 13, 2024
4 checks passed
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

Successfully merging this pull request may close these issues.

2 participants