forth: return Vec<Value>, not String, from stack#294
Merged
petertseng merged 1 commit intoexercism:masterfrom Jun 7, 2017
petertseng:forth
Merged
forth: return Vec<Value>, not String, from stack#294petertseng merged 1 commit intoexercism:masterfrom petertseng:forth
Vec<Value>, not String, from stack#294petertseng merged 1 commit intoexercism:masterfrom
petertseng:forth
Conversation
Member
Author
|
will need rebase for #296, will do that I did that badly. Better now. |
Questioning the assumptions: Why must the output be a string? Reasons I thought of: * It was this way in the original version of the exercise: exercism/exercism#1188 * But, we have no obligation to follow that. * It matches the fact that we have strings as inputs. * But, it is probably more work for the student to create a string. * It can be argued that it's easier to check the vector. Previous discussions: exercism/problem-specifications#394 (comment) exercism/haskell#412 This doesn't get this track all the way to forth 1.0.0, but is a useful step there.
ijanos
approved these changes
Jun 6, 2017
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Questioning the assumptions: Why must the output be a string?
Reasons I thought of:
Add Elixir forth exercise exercism#1188
Previous discussions:
exercism/problem-specifications#394 (comment)
exercism/haskell#412
This doesn't get this track all the way to forth 1.0.0, but is a useful
step there.