-
-
Notifications
You must be signed in to change notification settings - Fork 195
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
roman-numerals: Rewrite to return a Maybe. #304
Comments
All the description.md says is "There is no need to be able to convert numbers larger than about 3000.", has not mentioned lower limits. I assume we could test it. Questions to ask:
I don't know if there is historical basis for the proposed
Interesting, we haven't done it before. It could be a worthy experiment. You may recall at #292 I wondered whether people would get confused by that, but maybe if we told them "it's up to you!" then people need not be confused. |
For historical reasons, I would prefer to use
I would favor this approach, using a note in |
Considering what was discussed in #194 (comment), we should probably rewrite
roman-numerals
to make it more idiomatic.Currently, the reference json file only suggests test for values between 1 and 3000.
Should we really add new tests for:
Or should we just change the return type to a
Maybe
, leaving to the user to choose how it will handle those cases?The text was updated successfully, but these errors were encountered: