toysolver icon indicating copy to clipboard operation
toysolver copied to clipboard

Ambiguous occurrence ‘singleton

Open andrewufrank opened this issue 3 years ago • 3 comments

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!

andrewufrank avatar Jul 25 '22 09:07 andrewufrank

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

msakai avatar Jul 26 '22 13:07 msakai

I just released a new version 0.8.0 to Hackage.

msakai avatar Jul 26 '22 23:07 msakai

Thank you!

andrewufrank avatar Aug 20 '22 21:08 andrewufrank