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.
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
Retire value protocol in favor of multimethods #149
Retire value protocol in favor of multimethods #149
Changes from all commits
03fe1b1
4e676e0
0e0fb0a
5fa2a53
9ff9a82
afbbb05
efa73e0
186cdaf
9d8049d
f37e03e
bf86cf5
c5d86cf
9840eae
3099424
d1cf4b3
b48789f
2d75ffa
496a3d1
8d13acc
ec33728
e35d090
316d36c
49e88e6
5faf68c
b171645
c104511
49a92a3
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
curious to see how this is done, as I introduced this bug, not knowing you could do it another way... do you compare now to the zero-like of the type?
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.
Yup! I was inspired by similar examples you had designed.
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 the range always have an instance of the output type? I thought we could have things like
'(UP Real Real)
.I have a PR bringing in the Sussman-style here: #113
I wonder if this implementation will work there, or what you think...
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.
is it worth making this identity a top-level var and then returning that here/
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.
hmm, won't this always return symbols, which will register as false? I guess that makes sense!