ndmitchell/hlint

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

Open

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

在 GitHub 查看
 (9 评论) (5 反应) (0 负责人)Haskell (1,594 star) (208 fork)batch import
good first issue

描述

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.

贡献者指南