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
The current InfiniInt<T> is generic over a proxy type, rather than its element type, to satisfy the requirement machine:
struct InfiniInt<Source: SystemsInteger>: ArbitraryInteger { typealias Element = Source.Element }
I would prefer it being generic over its element type, but the compiler burns the world to ashes when I try. I'm unsure why:
struct InfiniInt<Element: SystemsInteger>: ArbitraryInteger { }
The text was updated successfully, but these errors were encountered:
Wow. Slava Pestov's fake protocol trick is magic ✨
Sorry, something went wrong.
Make InfiniInt<T> generic over Element (#52).
badf5fc
No branches or pull requests
The current InfiniInt<T> is generic over a proxy type, rather than its element type, to satisfy the requirement machine:
I would prefer it being generic over its element type, but the compiler burns the world to ashes when I try. I'm unsure why:
The text was updated successfully, but these errors were encountered: