-
Notifications
You must be signed in to change notification settings - Fork 12
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
Michael's review #44
Michael's review #44
Conversation
Michael's review 😉 |
spec.emu
Outdated
1. <ins>For each Module Record _additionalModule_ of _additionalModules_, do</ins> | ||
1. <ins>If _additionalModule_ is not in _evaluationList_, then</ins> | ||
1. <ins>Append _additionalModule_ to _evaluationList_.</ins> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think you need to go through all this to describe what you're really trying to do.
1. <ins>For each Module Record _additionalModule_ of _additionalModules_, do</ins> | |
1. <ins>If _additionalModule_ is not in _evaluationList_, then</ins> | |
1. <ins>Append _additionalModule_ to _evaluationList_.</ins> | |
1. <ins>Remove any duplicate entries from _additionalModules_.</ins> |
We talk about Lists having duplicate entries all over the place.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this preserve ordering? I need to ensure that « x » + « y, x » becomes « x, y » and not « y, x »
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, good point. No I don't think it would.
LGTM otherwise. |
Whops sorry about the typo 😅 |
Ref #24 (comment)
@michaelficarra For
GatherAsynchronousTransitiveDependencies
I could not just use list concatenation because I need to avoid duplicates -- how does this look?