haskell-nix/hnix

Please, check & find superflous `coerce`

オープン

#986 opened on 2021/08/14

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)Nix (116 件のフォーク)github user discovery
good first issuerefactoring

Repository metrics

Stars
 (835 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

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.

コントリビューターガイド