ndmitchell/hlint

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

Ouverte

#1 637 ouverte le 17 févr. 2025

 (9 commentaires) (5 réactions) (0 personne assignée)Haskell (208 forks)batch import
good first issue

Métriques du dépôt

Stars
 (1 602 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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.

Guide contributeur