ndmitchell/hlint

Make it possible to forbid "`fromIntegral` without visible type arguments"

开放

#1,637 创建于 2025年2月17日

 (9 条评论) (5 个反应) (0 位负责人)Haskell (208 个派生)batch import
good first issue

仓库指标

星标
 (1,602 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

fromIntegral @Int16 @Int32 is refactor safe but fromIntegral is not. I want to allow the former but forbid the latter.

See https://github.com/haskell/core-libraries-committee/issues/314 for context and in particular Ad-hoc polymorphism erodes type-safety.

贡献者指南