ndmitchell/hlint
Make it possible to forbid "`fromIntegral` without visible type arguments"
オープン
#1,637 opened on 2025/02/17
good first issue
Repository metrics
- Stars
- (1,602 個のスター)
- PR merge metrics
- (30d に merged 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.