argotorg / argotorg/act

Choose one style of accessing records

Open
#120 0 comments 0 reactions 0 assignees View on GitHub
minor
Dominant language
Haskell
Stars
279
Forks
51
Avg merge
17h 42m
Merged PRs (30d)
1

Description

When I refactored `Type.hs` to use a record as its environment type I used a `-XNamedFieldPuns`-based style to access the fields. Other files already used `-XRecordWildCards` to do the same thing in a different style. We should probably choose one (I prefer the latter but wasn't aware of it before) and stick to it.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by comparing the record-field access style in Type.hs with the other Haskell files that use RecordWildCards. Confirm which extensions and access patterns are present across the repository, then standardize the chosen style consistently and verify the project still builds and its existing checks pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
tooling
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.