fpco / weigh

Measure allocations of a Haskell functions/values

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't build test suite with ghc 8.4 due to bytestring-trie

DanBurton opened this issue · comments

Adding weigh to skipped-tests on Stackage, due to this build failure with bytestring-trie. I can't find anywhere to report it so here's the error in case anyone knows how to pass it along to the right person.

[4 of 6] Compiling Data.Trie.Internal ( src/Data/Trie/Internal.hs, .stack-work/dist/x86_64-osx/Cabal-2.2.0.0/build/Data/Trie/Internal.o )

/Users/dan/scratch/bytestring-trie-0.2.4.1/src/Data/Trie/Internal.hs:306:10: error:
    • Could not deduce (Semigroup (Trie a))
        arising from the superclasses of an instance declaration
      from the context: Monoid a
        bound by the instance declaration
        at src/Data/Trie/Internal.hs:306:10-38
    • In the instance declaration for ‘Monoid (Trie a)’
    |
306 | instance (Monoid a) => Monoid (Trie a) where
    |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

I can just remove that, it's more of a demo than a real test.

The weigh-maps test-suite build and run just right, now (using stack build weigh:weigh-maps --flag weigh:weigh-maps)