`Vector` constructor is not exposed.
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
Research direction
Compare the public APIs of Data.Vector and Data.Vector.Primitive.Vector, focusing on constructor visibility and access to size and offset. Read the linked issue discussion first; the work is complete only when the project has a decided, documented API for these internals and the relevant behavior is covered.
Written by the indexing model from the issue text.
Description
I find it slightly confusing.
Data.Vector.Primitive.Vector constructor is exposed, but for Data.Vector it isn't. The inconsistency doesn't make sense to me, and I'd like to have internals (i.e. access to size and offset) exposed somewhere.
@lehins pointed somewher else (Reddit?) that quickcheck-instances doesn't generate sliced Vectors. But from current API of Vector it doesn't seem to matter, as far as I can see, there isn't a way to exploit slicedness of ordinary Vectors, (you can exploit slicedness of some other vectors, but not all).
- Dominant language
- Haskell
- Stars
- 401
- Forks
- 145
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from haskell/vector
-
Difficulty 1/5 Under an hour Newbie friendliness 68/100
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Similar issues
-
chore
Difficulty 1/5 Under an hour Newbie friendliness 91/100
alunduil/alunduil-chezmoi#792 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
koalaman/shellcheck#3539 ·
-
time-manager-0.4.0 Openfailure: bounds
Difficulty 1/5 Under an hour Newbie friendliness 72/100
commercialhaskell/stackage#8122 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
objectionary/phino#1350 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100