Skip to content

Build failure with GHC 9.2.1 #32

@sjakobi

Description

@sjakobi
src/Generic/Random/Internal/BaseCase.hs:191:3: error:
    • Could not deduce (Alternative (IfM y Weighted Proxy))
        arising from the superclasses of an instance declaration
      from the context: (GBCSSum f g z e yf yg, GBCS f z yf e,
                         GBCS g z yg e, y ~ (yf ||? yg))
        bound by the instance declaration
        at src/Generic/Random/Internal/BaseCase.hs:(191,3)-(195,27)
    • In the instance declaration for ‘GBCS (f :+: g) z y e’
    |
191 |   ( GBCSSum f g z e yf yg
    |   ^^^^^^^^^^^^^^^^^^^^^^^...

src/Generic/Random/Internal/BaseCase.hs:239:3: error:
    • Could not deduce (Alternative (IfM y Weighted Proxy))
        arising from the superclasses of an instance declaration
      from the context: (GBCSProduct f g z e yf yg, GBCS f z yf e,
                         GBCS g z yg e, y ~ (yf &&? yg))
        bound by the instance declaration
        at src/Generic/Random/Internal/BaseCase.hs:(239,3)-(243,27)
    • In the instance declaration for ‘GBCS (f :*: g) z y e’
    |
239 |   ( GBCSProduct f g z e yf yg
    |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^...
cabal: Failed to build generic-random-1.5.0.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildBuild failures (usually from GHC upgrades)

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions