Skip to content

Make it possible to forbid "fromIntegral without visible type arguments" #1637

@NorfairKing

Description

@NorfairKing

fromIntegral @Int16 @Int32 is refactor safe but fromIntegral is not.
I want to allow the former but forbid the latter.

See haskell/core-libraries-committee#314 for context and in particular Ad-hoc polymorphism erodes type-safety.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions