It seems the log (natural logarithm) function from Floating typeclass is not reexported.
On compilation of program that uses it I get:
Variable not in scope: log :: Double -> Double
|
10 | logDifferenceSeq v = zipWith (\x y -> log(x/y)) v (fromMaybe [] $ viaNonEmpty tail $ v)
| ^^^
The code in question:
logDifferenceSeq :: [Double] -> [Double]
logDifferenceSeq v = zipWith (\x y -> log(x/y)) v (fromMaybe [] $ viaNonEmpty tail $ v)
This is for version 1.0.0.1
It seems the log (natural logarithm) function from Floating typeclass is not reexported.
On compilation of program that uses it I get:
The code in question:
This is for version 1.0.0.1