Skip to content
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

Prim (Weak a) instance? #436

Closed
ocharles opened this issue Jun 13, 2022 · 1 comment
Closed

Prim (Weak a) instance? #436

ocharles opened this issue Jun 13, 2022 · 1 comment

Comments

@ocharles
Copy link

Before I go down the path of trying to implement this, does it make sense to have a Prim instance for System.Mem.Weak.Weak? I think so, as data Weak a = Weak (Weak# a). I just don't know if there are enough primitives operations on Weak# to implement the instance. I'd like this because reactive-banana currently stores [Weak a], but I'd like to unbox this.

@ocharles
Copy link
Author

Whoops, never mind, I see now this should be a question for the primitive library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant