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

Subclass relationships between Read/Write/Own #7

Open
aspiwack opened this issue Mar 15, 2019 · 0 comments
Open

Subclass relationships between Read/Write/Own #7

aspiwack opened this issue Mar 15, 2019 · 0 comments

Comments

@aspiwack
Copy link
Member

Should we have something like

class Read n
class Write n
class Own n
type RW n = (Read n, Write n)
type O n = (RW n, Own n)

or

class R n
class R n =>. W n
class W n =>. O n

Answering this question will require us to understand the meaning of linear subclass constraints.

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