Skip to content

custom-set: update tests to 1.1.0 - #1187

Merged
FridaTveit merged 1 commit into
exercism:masterfrom
sjwarner:custom-set-update
Jan 3, 2018
Merged

FridaTveit merged 1 commit into
exercism:masterfrom
sjwarner:custom-set-update

Conversation

@sjwarner-bp

Copy link
Copy Markdown
Contributor

Fixes #1177

I am slightly puzzled by all the different data types, as this doesn't seem to be mentioned in the canonical data, but I didn't want to make too big a change! If we think this should be changed, I'll update the PR 🙂


Reviewer Resources:

Track Policies

@FridaTveit

Copy link
Copy Markdown
Contributor

We decided to use different data types to make the exercise less confusing. If only one datatype is used then the signature forces the user to implement it using generics but then generics is never needed because only one data type is used. It is mentioned in the canonical data that this is okay:

"Tests about mixed-type sets are not included because the ability",
"to implement that will vary by language. If your language supports it",
"and you want to implement mixed-type sets, feel free."

:)

@sjwarner-bp

Copy link
Copy Markdown
Contributor Author

Makes sense to me! 🙂

@FridaTveit FridaTveit left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks great, thanks @sjwarner-bp :)

@FridaTveit
FridaTveit merged commit 29e2488 into exercism:master Jan 3, 2018
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.

3 participants