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.

貢獻者指南