Build #1 for probability-polynomial-1.0.1.0
| Package | probability-polynomial-1.0.1.0 |
|---|
| Install | InstallOk |
|---|---|
| Docs | Ok |
| Tests | NotTried |
| Time submitted | 2025-09-26 15:23:56.699335137 UTC |
|---|---|
| Compiler | ghc-9.8.4 |
| OS | linux |
| Arch | x86_64 |
| Dependencies | base-4.19.2.0, containers-0.6.8, deepseq-1.5.1.0, exact-combinatorics-0.2.0.11 |
| Flags | none |
Code Coverage
No Code Coverage was submitted for this report.
Build log
[view raw]
Resolving dependencies...
Configuring exact-combinatorics-0.2.0.11...
Preprocessing library for exact-combinatorics-0.2.0.11..
Building library for exact-combinatorics-0.2.0.11..
[1 of 3] Compiling Math.Combinatorics.Exact.Factorial ( src/Math/Combinatorics/Exact/Factorial.hs, dist/build/Math/Combinatorics/Exact/Factorial.o, dist/build/Math/Combinatorics/Exact/Factorial.dyn_o )
[2 of 3] Compiling Math.Combinatorics.Exact.Primes ( src/Math/Combinatorics/Exact/Primes.hs, dist/build/Math/Combinatorics/Exact/Primes.o, dist/build/Math/Combinatorics/Exact/Primes.dyn_o )
src/Math/Combinatorics/Exact/Primes.hs:53:37: warning: [GHC-63394] [-Wx-partial]
In the use of head
(imported from Prelude, but defined in GHC.List):
"This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."
|
53 | [ n' | o <- s : [2*s,3*s..(head ps-1)*s]
| ^^^^
src/Math/Combinatorics/Exact/Primes.hs:57:22: warning: [GHC-63394] [-Wx-partial]
In the use of tail
(imported from Prelude, but defined in GHC.List):
"This is a partial function, it throws an error on empty lists. Replace it with drop 1, or use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."
|
57 | ++ seive ws (tail ps) (tail qs)
| ^^^^
src/Math/Combinatorics/Exact/Primes.hs:57:32: warning: [GHC-63394] [-Wx-partial]
In the use of tail
(imported from Prelude, but defined in GHC.List):
"This is a partial function, it throws an error on empty lists. Replace it with drop 1, or use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."
|
57 | ++ seive ws (tail ps) (tail qs)
| ^^^^
[3 of 3] Compiling Math.Combinatorics.Exact.Binomial ( src/Math/Combinatorics/Exact/Binomial.hs, dist/build/Math/Combinatorics/Exact/Binomial.o, dist/build/Math/Combinatorics/Exact/Binomial.dyn_o )
Preprocessing library for exact-combinatorics-0.2.0.11..
Running Haddock on library for exact-combinatorics-0.2.0.11..
Warning: --source-* options are ignored when --hyperlinked-source is enabled.
[1 of 3] Compiling Math.Combinatorics.Exact.Factorial ( src/Math/Combinatorics/Exact/Factorial.hs, nothing )
[2 of 3] Compiling Math.Combinatorics.Exact.Primes ( src/Math/Combinatorics/Exact/Primes.hs, nothing )
src/Math/Combinatorics/Exact/Primes.hs:53:37: warning: [GHC-63394] [-Wx-partial]
In the use of head
(imported from Prelude, but defined in GHC.List):
"This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."
|
53 | [ n' | o <- s : [2*s,3*s..(head ps-1)*s]
| ^^^^
src/Math/Combinatorics/Exact/Primes.hs:57:22: warning: [GHC-63394] [-Wx-partial]
In the use of tail
(imported from Prelude, but defined in GHC.List):
"This is a partial function, it throws an error on empty lists. Replace it with drop 1, or use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."
|
57 | ++ seive ws (tail ps) (tail qs)
| ^^^^
src/Math/Combinatorics/Exact/Primes.hs:57:32: warning: [GHC-63394] [-Wx-partial]
In the use of tail
(imported from Prelude, but defined in GHC.List):
"This is a partial function, it throws an error on empty lists. Replace it with drop 1, or use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."
|
57 | ++ seive ws (tail ps) (tail qs)
| ^^^^
[3 of 3] Compiling Math.Combinatorics.Exact.Binomial ( src/Math/Combinatorics/Exact/Binomial.hs, nothing )
Haddock coverage:
Warning: 'Int32' is out of scope.
If you qualify the identifier, haddock can try to link it anyway.
Warning: 'Int64' is out of scope.
If you qualify the identifier, haddock can try to link it anyway.
100% ( 2 / 2) in 'Math.Combinatorics.Exact.Factorial'
100% ( 2 / 2) in 'Math.Combinatorics.Exact.Primes'
100% ( 2 / 2) in 'Math.Combinatorics.Exact.Binomial'
Documentation created: dist/doc/html/exact-combinatorics/,
dist/doc/html/exact-combinatorics/exact-combinatorics.txt
Installing library in /var/lib/hackage-doc-builder/build-cache/tmp-install/lib/x86_64-linux-ghc-9.8.4/exact-combinatorics-0.2.0.11-D9fBYTCbJd7KwAv4D0Id44
Completed exact-combinatorics-0.2.0.11
Configuring probability-polynomial-1.0.1.0...
Preprocessing library for probability-polynomial-1.0.1.0..
Building library for probability-polynomial-1.0.1.0..
[1 of 7] Compiling Data.Function.Class ( src/Data/Function/Class.hs, dist/build/Data/Function/Class.o, dist/build/Data/Function/Class.dyn_o )
[2 of 7] Compiling Numeric.Function.Piecewise ( src/Numeric/Function/Piecewise.hs, dist/build/Numeric/Function/Piecewise.o, dist/build/Numeric/Function/Piecewise.dyn_o )
[3 of 7] Compiling Numeric.Polynomial.Simple ( src/Numeric/Polynomial/Simple.hs, dist/build/Numeric/Polynomial/Simple.o, dist/build/Numeric/Polynomial/Simple.dyn_o )
src/Numeric/Polynomial/Simple.hs:588:48: warning: [GHC-63394] [-Wx-partial]
In the use of head
(imported from Prelude, but defined in GHC.List):
"This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."
|
588 | else getRoot precision (lower, upper) (head rootFactors)
| ^^^^
src/Numeric/Polynomial/Simple.hs:599:31: warning: [GHC-63394] [-Wx-partial]
In the use of head
(imported from Prelude, but defined in GHC.List):
"This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."
|
599 | | degp == 1 = Just (-(head ps / last ps)) -- p0 + p1x = 0 => x = -p0/p1
| ^^^^
[4 of 7] Compiling Numeric.Measure.Discrete ( src/Numeric/Measure/Discrete.hs, dist/build/Numeric/Measure/Discrete.o, dist/build/Numeric/Measure/Discrete.dyn_o )
src/Numeric/Measure/Discrete.hs:112:13: warning: [GHC-63394] [-Wx-partial]
In the use of tail
(imported from Prelude, but defined in GHC.List):
"This is a partial function, it throws an error on empty lists. Replace it with drop 1, or use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."
|
112 | steps = tail $ scanl' (+) 0 $ map snd diracs
| ^^^^
[5 of 7] Compiling Numeric.Measure.Finite.Mixed ( src/Numeric/Measure/Finite/Mixed.hs, dist/build/Numeric/Measure/Finite/Mixed.o, dist/build/Numeric/Measure/Finite/Mixed.dyn_o )
src/Numeric/Measure/Finite/Mixed.hs:151:27: warning: [GHC-63394] [-Wx-partial]
In the use of head
(imported from Prelude, but defined in GHC.List):
"This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."
|
151 | ps -> Just (fst $ head ps, fst $ last ps)
| ^^^^
src/Numeric/Measure/Finite/Mixed.hs:269:18: warning: [GHC-63394] [-Wx-partial]
In the use of tail
(imported from Prelude, but defined in GHC.List):
"This is a partial function, it throws an error on empty lists. Replace it with drop 1, or use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."
|
269 | totalJumps = tail $ scanl' (+) 0 $ map snd jumps
| ^^^^
[6 of 7] Compiling Numeric.Probability.Moments ( src/Numeric/Probability/Moments.hs, dist/build/Numeric/Probability/Moments.o, dist/build/Numeric/Probability/Moments.dyn_o )
[7 of 7] Compiling Numeric.Measure.Probability ( src/Numeric/Measure/Probability.hs, dist/build/Numeric/Measure/Probability.o, dist/build/Numeric/Measure/Probability.dyn_o )
Preprocessing library for probability-polynomial-1.0.1.0..
Running Haddock on library for probability-polynomial-1.0.1.0..
Warning: --source-* options are ignored when --hyperlinked-source is enabled.
[1 of 7] Compiling Data.Function.Class ( src/Data/Function/Class.hs, nothing )
[2 of 7] Compiling Numeric.Function.Piecewise ( src/Numeric/Function/Piecewise.hs, nothing )
[3 of 7] Compiling Numeric.Polynomial.Simple ( src/Numeric/Polynomial/Simple.hs, nothing )
src/Numeric/Polynomial/Simple.hs:588:48: warning: [GHC-63394] [-Wx-partial]
In the use of head
(imported from Prelude, but defined in GHC.List):
"This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."
|
588 | else getRoot precision (lower, upper) (head rootFactors)
| ^^^^
src/Numeric/Polynomial/Simple.hs:599:31: warning: [GHC-63394] [-Wx-partial]
In the use of head
(imported from Prelude, but defined in GHC.List):
"This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."
|
599 | | degp == 1 = Just (-(head ps / last ps)) -- p0 + p1x = 0 => x = -p0/p1
| ^^^^
[4 of 7] Compiling Numeric.Measure.Discrete ( src/Numeric/Measure/Discrete.hs, nothing )
src/Numeric/Measure/Discrete.hs:112:13: warning: [GHC-63394] [-Wx-partial]
In the use of tail
(imported from Prelude, but defined in GHC.List):
"This is a partial function, it throws an error on empty lists. Replace it with drop 1, or use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."
|
112 | steps = tail $ scanl' (+) 0 $ map snd diracs
| ^^^^
[5 of 7] Compiling Numeric.Measure.Finite.Mixed ( src/Numeric/Measure/Finite/Mixed.hs, nothing )
src/Numeric/Measure/Finite/Mixed.hs:151:27: warning: [GHC-63394] [-Wx-partial]
In the use of head
(imported from Prelude, but defined in GHC.List):
"This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."
|
151 | ps -> Just (fst $ head ps, fst $ last ps)
| ^^^^
src/Numeric/Measure/Finite/Mixed.hs:269:18: warning: [GHC-63394] [-Wx-partial]
In the use of tail
(imported from Prelude, but defined in GHC.List):
"This is a partial function, it throws an error on empty lists. Replace it with drop 1, or use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."
|
269 | totalJumps = tail $ scanl' (+) 0 $ map snd jumps
| ^^^^
[6 of 7] Compiling Numeric.Probability.Moments ( src/Numeric/Probability/Moments.hs, nothing )
[7 of 7] Compiling Numeric.Measure.Probability ( src/Numeric/Measure/Probability.hs, nothing )
Haddock coverage:
100% ( 2 / 2) in 'Data.Function.Class'
100% ( 18 / 18) in 'Numeric.Function.Piecewise'
100% ( 28 / 28) in 'Numeric.Polynomial.Simple'
100% ( 18 / 18) in 'Numeric.Measure.Discrete'
100% ( 20 / 20) in 'Numeric.Measure.Finite.Mixed'
Warning: 'Moments' is ambiguous. It is defined
* at src/Numeric/Probability/Moments.hs:19:18
* at src/Numeric/Probability/Moments.hs:19:1
You may be able to disambiguate the identifier by qualifying it or
by specifying the type/value namespace explicitly.
Defaulting to the one defined at src/Numeric/Probability/Moments.hs:19:1
100% ( 3 / 3) in 'Numeric.Probability.Moments'
100% ( 18 / 18) in 'Numeric.Measure.Probability'
Warning: Data.Function.Class: could not find link destinations for:
- Data.Function.Class.D:R:DomainSet
- Data.Function.Class.D:R:CodomainSet
- Data.Function.Class.D:R:DomainMap
- Data.Function.Class.D:R:CodomainMap
- Data.Function.Class.D:R:DomainFUN
- Data.Function.Class.D:R:CodomainFUN
- Numeric.Function.Piecewise.D:R:DomainPiecewise
- Numeric.Function.Piecewise.D:R:CodomainPiecewise
- Numeric.Polynomial.Simple.D:R:DomainPoly
- Numeric.Polynomial.Simple.D:R:CodomainPoly
Warning: Numeric.Function.Piecewise: could not find link destinations for:
- Numeric.Function.Piecewise.D:R:DomainPiecewise
- Numeric.Function.Piecewise.D:R:CodomainPiecewise
- Numeric.Function.Piecewise.Rep_Piecewise
Warning: Numeric.Polynomial.Simple: could not find link destinations for:
- Numeric.Polynomial.Simple.D:R:DomainPoly
- Numeric.Polynomial.Simple.D:R:CodomainPoly
- Numeric.Polynomial.Simple.Rep_Poly
- Numeric.Polynomial.Simple.Rep1_Poly
Documentation created: dist/doc/html/probability-polynomial/,
dist/doc/html/probability-polynomial/probability-polynomial.txt
Installing library in /var/lib/hackage-doc-builder/build-cache/tmp-install/lib/x86_64-linux-ghc-9.8.4/probability-polynomial-1.0.1.0-9yA4fz4wlME1uIwfPzss6M
Completed probability-polynomial-1.0.1.0
Test log
[view raw]
Resolving dependencies...
Error:
Internal libraries only supported with per-component builds.
Per-component builds were disabled because program coverage is enabled
In the package 'vector-0.13.2.0'