msakai / toysolver

My sandbox for experimenting with solver algorithms.
Other
154 stars 11 forks source link

Ambiguous occurrence ‘singleton #79

Closed andrewufrank closed 1 year ago

andrewufrank commented 2 years ago

compiling with allow-newer and ghc 9.0.2 (base 4.15.1) I encountered the following error:

src/ToySolver/Data/LA.hs:302:43: error: Ambiguous occurrence ‘singleton’ It could refer to either ‘Data.List.singleton’, imported from ‘Data.List’ at src/ToySolver/Data/LA.hs:70:1-16 (and originally defined in ‘base-4.15.1.0:Data.OldList’) or ‘Data.Interval.singleton’, imported from ‘Data.Interval’ at src/ToySolver/Data/LA.hs:75:1-20

I assume this is easy to resolve! Thank you!

msakai commented 2 years ago

The problem is already fixed on the master branch (#69). I'll release a new version to Hackage.

msakai commented 2 years ago

I just released a new version 0.8.0 to Hackage.

andrewufrank commented 2 years ago

Thank you!