haskell-nix/hnix

Please, check & find superflous `coerce`

开放

#986 创建于 2021年8月14日

 (1 条评论) (0 个反应) (0 位负责人)Nix (116 个派生)github user discovery
good first issuerefactoring

仓库指标

星标
 (835 个星标)
PR 合并指标
 (30 天内没有已合并 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.

贡献者指南