haskell-nix/hnix

Please, check & find superflous `coerce`

Open

#986 opened on Aug 14, 2021

 (1 comment) (0 reactions) (0 assignees)Nix (116 forks)github user discovery
good first issuerefactoring

Repository metrics

Stars
 (835 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

During work on type shifts, the coerce gets sprinkled over the code.

Eventually, when types line-up - some of the coerce sprinkled over the codebase become superfluous (Path -> Path & such).

There probably shouldn't be many of them, but also finding & removing them would make the code not only cleaner also reducing their number - prevents type inference problems during work.

Contributor guide