-
Notifications
You must be signed in to change notification settings - Fork 69
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
Numbers redesign #1006
base: master
Are you sure you want to change the base?
Numbers redesign #1006
Conversation
…hods, so that they can be specialized with extended number types
@@ -241,23 +241,23 @@ define method \^ | |||
end if | |||
end method \^; | |||
|
|||
define function logior (#rest integers) => (logior :: <integer>) | |||
define sealed method logior (#rest integers) => (logior :: <integer>) |
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.
Converting logior
(and logxor
and logand
) to sealed method
won't change anything, since they have no required arguments, so there is no dispatch happening.
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.
good
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.
you
First 3 commits of the work towards a more extensible numerics are mergeable by themselves.