ekmett / ekmett/vector-instances

`Indexable` and `Lookup` for Generic Vectors.

Open
#10 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
9
Forks
11
PR merge metrics
No merged PRs in 30d

Description

Would it be possible to add instances for indexing into a Generic vector so that these type classes can be used with Unboxed or Storable vectors? Similarly would it be possible to do the same with other kinds of arrays?

I realise `keys` is based around Haskell functors and these things are not functors in that sense (they are, I suppose, functors on mythical categories of Unboxed types, though I wouldn't wish to be quoted on that).

Contributor guide

No contributing guide indexed for this repository

Research direction

No files or tests are named. Begin by inspecting the existing Indexable and Lookup instances in the repository and how Generic, Unboxed, and Storable vectors are represented; determine which requested array types are in scope. Done means the relevant vector instances compile and allow both type classes to be used with the requested vector variants.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
data
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.