alex404 / goal

The Geometric OptimizAtion Libraries
7 stars 1 forks source link

Compile error #1

Closed tonyday567 closed 1 year ago

tonyday567 commented 1 year ago

Hi,

I tried compiling the project with "cabal build all" using ghc-9.4.7 and I ran into:

Goal/Geometry/Map/Linear.hs:346:59: error:
    • Couldn't match type ‘L.LinearCompose
                             'L.Full (L.LinearCompose s 'L.Full)’
                     with ‘'L.Full’
      Expected: c # Linear 'L.Full y y
        Actual: c
                # Linear (L.LinearCompose 'L.Full (L.LinearCompose s 'L.Full)) y y

and there were a few more that looked similar. Also tried with ghc-9.6.2.

Any hints on how to solve this?

alex404 commented 1 year ago

Hey, thanks for your interest. There were a few commits I hadn't pushed yet. Try giving it a shot now.

FYI: I'm finishing up a fairly large refactoring of the whole library. I'm hoping to finish up in the next couple of days. There should then be better documentation and more examples.

tonyday567 commented 1 year ago

Good compile with 9.4.7 and 9.6.2. Thanks!

I'm just poking around at the moment and look forward to seeing the refactor.