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 fails to build on nightly with GHC9.4 #6773

Closed
mihaimaruseac opened this issue Nov 19, 2022 · 2 comments
Closed

type-operators fails to build on nightly with GHC9.4 #6773

mihaimaruseac opened this issue Nov 19, 2022 · 2 comments

Comments

@mihaimaruseac
Copy link
Contributor

Preprocessing library for type-operators-0.2.0.0..
Building library for type-operators-0.2.0.0..
[1 of 1] Compiling Control.Type.Operator

/var/stackage/work/unpack-dir/unpacked/type-operators-0.2.0.0-3a1e8bf894c01b6b762565929180bc62c7057036e5c741eb2cdff2a1d8071a69/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)
   |               ^^^^^
@andreasabel
Copy link
Contributor

Lifted this to the maintainer:

@alaendle
Copy link
Member

alaendle commented Aug 2, 2023

Closed this in favor of Shou/type-operators#1 so no need to track this also on the stackage issue list. type-operators will semi-automatically be re-enabled once a compatible new version/revision appears on hackage - currently it is disabled by:

- type-operators < 0 # tried type-operators-0.2.0.0, but its *library* requires base >=4.7 && < 4.17 and the snapshot contains base-4.18.0.0

@alaendle alaendle closed this as completed Aug 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants