Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

type-operators-0.2.0.0 does not build with GHC 9.4 #1

Open
andreasabel opened this issue Dec 27, 2022 · 0 comments
Open

type-operators-0.2.0.0 does not build with GHC 9.4 #1

andreasabel opened this issue Dec 27, 2022 · 0 comments

Comments

@andreasabel
Copy link

andreasabel commented Dec 27, 2022

$ cabal build
...
Build profile: -w ghc-9.4.4 -O1
...
Building library for type-operators-0.2.0.0..
[1 of 1] Compiling Control.Type.Operator ( Control/Type/Operator.hs, /Users/abel/tmp/type-operators-0.2.0.0/dist-newstyle/build/x86_64-osx/ghc-9.4.4/type-operators-0.2.0.0/build/Control/Type/Operator.o, /Users/abel/tmp/type-operators-0.2.0.0/dist-newstyle/build/x86_64-osx/ghc-9.4.4/type-operators-0.2.0.0/build/Control/Type/Operator.dyn_o )

Control/Type/Operator.hs:97:15: error:
    Conflicting family instance declarations:
      [] <+> _ = () :: Constraint
        -- Defined at Control/Type/Operator.hs:97:15
      forall {k} {c :: k -> Constraint} {a :: k} {as :: [k]}.
        c <+> (a : as) = (c a, c <+> as)
          -- Defined at Control/Type/Operator.hs:99:15
   |
97 | type instance (<+>) [] _ = (() :: Constraint)
   |               ^^^^^

Lifted from:

In my role as Hackage Trustee, I restricted base to <4.17 on hackage: https://hackage.haskell.org/package/type-operators-0.2.0.0/revisions/

@andreasabel andreasabel changed the title Does not build with GHC 9.4 type-operators-0.2.0.0 does not build with GHC 9.4 Dec 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant