noinia / hgeometry

HGeometry is a library for computing with geometric objects in Haskell. It defines basic geometric types and primitives, and it implements some geometric data structures and algorithms. The main two focusses are: (1) Strong type safety, and (2) implementations of geometric algorithms and data structures that have good asymptotic running time guarantees.
120 stars 40 forks source link

Build failure in hgeometry-combinatorial with mtl-2.3 #197

Closed sjakobi closed 2 years ago

sjakobi commented 2 years ago
$ cabal install hgeometry-combinatorial --constraint 'mtl >= 2.3' --allow-newer=MonadRandom:mtl
Resolving dependencies...
Build profile: -w ghc-9.2.2 -O1

<snip>

src/Data/PlanarGraph/Core.hs:229:35: error:
    • Variable not in scope:
        forM_ :: [(Dart s, e)] -> ((a0, e) -> m0 ()) -> GHC.ST.ST s1 a1
    • Perhaps you meant one of these:
        ‘F.forM_’ (imported from Data.Foldable),
        ‘MV.forM_’ (imported from Data.Vector.Mutable),
        ‘V.forM_’ (imported from Data.Vector)
    |
229 |                                   forM_ (F.toList ds) $ \(d,x) ->
    |                                   ^^^^^

cabal: Failed to build hgeometry-combinatorial-0.14
noinia commented 2 years ago

Thank you for filing a bug report. The error in your report does not seem to be from any code in hgeometry-combinatorial though?

sjakobi commented 2 years ago

Oops! :blush: I have updated the issue description.

noinia commented 2 years ago

fixed :) Thanks again for reporting :)