You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text of the tutorial still explains that eb1 shouldn't be a lambda?. My guess is that the test is right, but the implementation of lambda? is not as the author intended. Probably, anything that binds the same name twice in the same argument list should not be a lambda?. Alternatively, the grammar is wrong and should be somehow enforcing uniqueness of names.
It seems to me that the text LATER changes the Lambda definition to disallow repeated parameters. But at this point in the text Lambda does allow them. lambda? checks Lambda. It seems to me that the test value is incorrect.
Oh that's a good point. In that case, I wonder if the failing test was a rhetorical device from a lecture and should be expected to fail. I'll leave that to @rfindler.
I did do some attempt to get these into running shape (but apparently not enough), but the lecture notes were originally @mfelleisen 's.
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
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.
Even though
yis free, it seems the grammar allows this. So expected results were wrong.