michalkonecny / aern2

A Haskell library for Approximating Exact Real Numbers (AERN) based on interval computation. (aern2 is a rewrite of aern.)
23 stars 3 forks source link

Build failure: quot not in scope #1

Closed snoyberg closed 5 years ago

snoyberg commented 5 years ago

I'm not sure what changed to cause this, but I'm seeing the following error message in Stackage Nightly:

[ 7 of 25] Compiling AERN2.MP.Float.UseRounded.Conversions ( src/AERN2/MP/Float/UseRounded/Conversions.hs, dist/build/AERN2/MP/Float/UseRounded/Conversions.o )

src/AERN2/MP/Float/UseRounded/Conversions.hs:64:25: error:
    • Variable not in scope: quot :: Integer -> Integer -> Integer
    • Perhaps you meant ‘P.quot’ (imported from Prelude)
   |
64 |       n = (numerator r) `quot` (denominator r)
   |                         ^^^^^^

Package: aern2-mp-0.1.3.1

michalkonecny commented 5 years ago

Thank you. This is resolved in aern2-mp version 0.1.4.