Skip to content

Liberal Coverage Condition Failure at Compilation #1

@yihming

Description

@yihming

When compiling with GHC 8.4.3, a liberal coverage condition failure happened for "HasValue" typeclass instance declarations in "Imperative/Internals.hs", Line 86 and 88.

For the functional dependency "b -> r i", in each instance declaration, RHS types must appear in LHS. However, in "instance HasValue r (V TyVar r) i", variable "i" does not appear in "V TyVar r", and thus is not determined.

I don't know if this is due to a different version of GHC, as the project was written 6 years ago...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions