ndmitchell/hlint

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

Open

#1.637 geöffnet am 17. Feb. 2025

Auf GitHub ansehen
 (9 Kommentare) (5 Reaktionen) (0 zugewiesene Personen)Haskell (208 Forks)batch import
good first issue

Repository-Metriken

Stars
 (1.594 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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.

Contributor Guide