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

Make sure next major version bump includes the correct role annotations for each vector type #277

Closed
cartazio opened this issue Jan 30, 2020 · 2 comments · Fixed by #316
Closed
Milestone

Comments

@cartazio
Copy link
Contributor

cartazio commented Jan 30, 2020

Storable Vectors need a nominal role, and thats likely true for everything but boxed vectors! (afaict)

@Shimuuar
Copy link
Contributor

Shimuuar commented Jun 10, 2020

Current state of vector data types:

  • Data.Vector: inferred representational
  • Data.Vector.Storable: annotated nominal
  • Data.Vector.Primitive: annotated representational
  • Data.Vector.Unboxed: inferred nominal

I think that Primitive should get same nominal annotation as Storable for same reasons.

@cartazio
Copy link
Contributor Author

cartazio commented Jun 10, 2020 via email

@Shimuuar Shimuuar modified the milestones: 0.12.2, 0.13 Jun 11, 2020
Shimuuar added a commit to Shimuuar/vector that referenced this issue Jun 13, 2020
Reasoning is identical to one for storable vectors. See discussion in haskell#224, and
PR haskell#235.

Fixes haskell#277
Shimuuar added a commit to Shimuuar/vector that referenced this issue Jun 14, 2020
Reasoning is identical to one for storable vectors. See discussion in haskell#224, and
PR haskell#235.

Fixes haskell#277
Shimuuar added a commit to Shimuuar/vector that referenced this issue Jun 14, 2020
Reasoning is identical to one for storable vectors. See discussion in haskell#224, and
PR haskell#235.

Fixes haskell#277
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

Successfully merging a pull request may close this issue.

2 participants