haskell / statistics

A fast, high quality library for computing with statistics in Haskell.
http://hackage.haskell.org/package/statistics
BSD 2-Clause "Simplified" License
300 stars 68 forks source link

`statistics-0.16.0.0` fails to build #180

Closed RyanGlScott closed 2 years ago

RyanGlScott commented 2 years ago

As seen here:

[15 of 48] Compiling Statistics.Distribution.Gamma ( Statistics/Distribution/Gamma.hs, dist/build/Statistics/Distribution/Gamma.o, dist/build/Statistics/Distribution/Gamma.dyn_o )

Statistics/Distribution/Gamma.hs:141:25: error:
    • Variable not in scope: lп :: Double
    • Perhaps you meant ‘l’ (line 141)
    |
141 |     mean (GD a l) = a * lп
    |                         ^^
Shimuuar commented 2 years ago

Thank you for the report! Turns out making tarball from work tree is not all that great idea. I've uploaded 0.16.0.1 and blacklisted 0.16.0.0

Do you know any tool for making source distribution from clean git checkout? It would help with forgetting to push tags too

RyanGlScott commented 2 years ago

Thanks! And I'm afraid I don't know of a good way to automate uploading sdists from clean checkouts, other than being diligent about invoking git status beforehand to make sure everything is clean.

Shimuuar commented 2 years ago

Well being diligent isn't exactly my forte and it's a computer's job anyway. I cobbled together small script for that: https://github.com/Shimuuar/sdist-release