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

Enriched stores should be value classes and invariant #245

Open
johnynek opened this issue Dec 8, 2014 · 0 comments
Open

Enriched stores should be value classes and invariant #245

johnynek opened this issue Dec 8, 2014 · 0 comments

Comments

@johnynek
Copy link
Collaborator

johnynek commented Dec 8, 2014

There is no need for variance on an enrichment: the type is exactly known when the enrichment is applied. It complicates the method definitions to maintain that variance (and complicates the type inference).

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