Skip to content

Optionally warn if an unused nonpolymorphic function doesn't type check #33

@girving

Description

@girving

Currently duck won't complain if you define a function like

f = \c -> if c then 'a' else 3

as long as f is never used. It's easy and probably worthwhile to catch this case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions