We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Would it make sense to have something like One <: StaticBool <: Integer and Zero <: StaticBool <: Integer, since Boolean algebra is a group?
One <: StaticBool <: Integer
Zero <: StaticBool <: Integer
The text was updated successfully, but these errors were encountered:
Ah, silly me, it's not a Boolean algebra, of course.
Sorry, something went wrong.
There is already an unexported StaticBool.
StaticBool
julia> One <: Zeros.StaticBool <: Integer true
Oh, sorry, must have overlooked that. But in any case, it wouldn't really form a group, mathematically, since One() + One() is not a One. :-)
One() + One()
One
No branches or pull requests
Would it make sense to have something like
One <: StaticBool <: Integer
andZero <: StaticBool <: Integer
, since Boolean algebra is a group?The text was updated successfully, but these errors were encountered: