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
Is a generic newtype possible? #130
Comments
Hi @atezet It's not possible at the moment. |
I already like using the library as-is a lot, but definitely looking forward to that! Thanks |
@atezet Btw, if you need only non empty vector, I recommend taking a look at |
Thanks for the suggestion! We tried that at first, and iirc it worked for the cases where we needed a vector, but we also need I also suggested just using Would love to see this to be possible with |
Is it possible to create a generic newtype with
nutype
? When I do, let's say:I get:
The text was updated successfully, but these errors were encountered: