-
Notifications
You must be signed in to change notification settings - Fork 58
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
PrimUnlifted class #379
Comments
I assume we'd also want instances for |
Yes, those as well. And |
It sounds to me like delaying this would be better, and just adding adequate documentation in |
Do you specifically mean delaying until we drop GHC 8.10? |
I'd like to move this from
primitive-unlifted
into thisprimitive
:I'd have to give up on the
ShortText
andShortByteString
instances sinceprimitive
is not going to pick upbytestring
ortext-short
as a dependency. Having this typeclass would let us have a much more useful implementation oftouch
andkeepAlive
. Any implementation of these targeting a lifted wrapper is dangerous and misleading to the user. Unfortunately, that's basically the only thing we would get from doing this. All the other stuff using this class needs to stay inprimitive-unlifted
for at least a while longer since the backwards-compatibility story for it is rather bad. I do think thatPrimUnlifted
is stable at this point though.Any thoughts on this?
The text was updated successfully, but these errors were encountered: