Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reexport log function #411

Open
genrtul opened this issue May 8, 2022 · 0 comments
Open

Reexport log function #411

genrtul opened this issue May 8, 2022 · 0 comments

Comments

@genrtul
Copy link

genrtul commented May 8, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant