Skip to content

singletons-base fail to build with GHC HEAD

[ 6 of 46] Compiling Data.Ord.Singletons ( src/Data/Ord/Singletons.hs, /home/int-index/head.hackage/dist-newstyle/build/x86_64-linux/ghc-9.9.20230716/singletons-base-3.1.1/build/Data/Ord/Singletons.o, /home/int-index/head.hackage/dist-newstyle/build/x86_64-linux/ghc-9.9.20230716/singletons-base-3.1.1/build/Data/Ord/Singletons.dyn_o )

src/Data/Ord/Singletons.hs:55:2: error: [GHC-54721]
    ‘>=’ is not a (visible) method of class ‘POrd’
   |
55 | $(singletonsOnly [d|
   |  ^^^^^^^^^^^^^^^^^^^...

src/Data/Ord/Singletons.hs:55:2: error: [GHC-54721]
    ‘>’ is not a (visible) method of class ‘POrd’
   |
55 | $(singletonsOnly [d|
   |  ^^^^^^^^^^^^^^^^^^^...

src/Data/Ord/Singletons.hs:55:2: error: [GHC-54721]
    ‘<’ is not a (visible) method of class ‘POrd’
   |
55 | $(singletonsOnly [d|
   |  ^^^^^^^^^^^^^^^^^^^...

src/Data/Ord/Singletons.hs:55:2: error: [GHC-54721]
    ‘<=’ is not a (visible) method of class ‘POrd’
   |
55 | $(singletonsOnly [d|
   |  ^^^^^^^^^^^^^^^^^^^...

Steps to reproduce: cabal build singletons-base --allow-newer=base,template-haskell using GHC HEAD.

Edited by Vladislav Zavialov