yesodweb / yesodweb/persistent
Refactor `[]` to `NonEmpty` where appropriate
Open
@duobei is already working on this.
Since Apr 9, 2020.
Newcomer
refactor
- Dominant language
- Haskell
- Stars
- 486
- Forks
- 306
- PR merge metrics
- No merged PRs in 30d
Description
There are a number of places where we use lists instead of non-empty lists. We should refactor to use NonEmpty instead of [] here to make the implementations safer.
Contributor guide
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.
Assessment
This issue has not been assessed yet.