ekmett / ekmett/linear

Field[n] instance for Affine.Point?

Open
#165 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
220
Forks
55
PR merge metrics
No merged PRs in 30d

Description

I notice there's no instance of `lens`'s `Field[n]` for `Point`s over, say, `V3`. Since there's an instance of `R[n]`, I'm guessing this is an oversight. Is there a particular reason we'd like lenses `_x`, `_y`, `_z`... but not `_1`, `_2`, `_3`..., or could this instance be added?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.