Skip to content

Reexport log function #411

@genrtul

Description

@genrtul

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions