Build #2 for ieee-utils-tempfix-0.4.0.1
| Package | ieee-utils-tempfix-0.4.0.1 |
|---|
| Install | InstallOk |
|---|---|
| Docs | Ok |
| Tests | NotTried |
| Time submitted | 2025-11-29 21:23:33.764727758 UTC |
|---|---|
| Compiler | ghc-9.8.4 |
| OS | linux |
| Arch | x86_64 |
| Dependencies | base-4.19.2.0 |
| Flags | none |
Code Coverage
No Code Coverage was submitted for this report.
Build log
[view raw]
Resolving dependencies...
Downloading ieee-utils-tempfix-0.4.0.1
Downloaded ieee-utils-tempfix-0.4.0.1
Warning: ieee-utils-tempfix.cabal:22:33: version operators used. To use
version operators the package needs to specify at least 'cabal-version: >=
1.8'.
Configuring ieee-utils-tempfix-0.4.0.1...
Preprocessing library for ieee-utils-tempfix-0.4.0.1..
Building library for ieee-utils-tempfix-0.4.0.1..
[1 of 3] Compiling Numeric.IEEE.FloatExceptions ( src/Numeric/IEEE/FloatExceptions.hs, dist/build/Numeric/IEEE/FloatExceptions.o, dist/build/Numeric/IEEE/FloatExceptions.dyn_o )
src/Numeric/IEEE/FloatExceptions.hs:39:1: warning: [GHC-90177] [-Worphans]
Orphan class instance: instance Enum ArithException
Suggested fix:
Move the instance declaration to the module of the class or of the type, or
wrap the type with a newtype and declare the instance on the new type.
|
39 | instance Enum ArithException where
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...
src/Numeric/IEEE/FloatExceptions.hs:40:3: warning: [GHC-62161] [-Wincomplete-patterns]
Pattern match(es) are non-exhaustive
In an equation for toEnum: Patterns of type Int not matched: _
|
40 | toEnum n
| ^^^^^^^^...
src/Numeric/IEEE/FloatExceptions.hs:46:3: warning: [GHC-62161] [-Wincomplete-patterns]
Pattern match(es) are non-exhaustive
In an equation for fromEnum:
Patterns of type ArithException not matched: RatioZeroDenominator
|
46 | fromEnum DivideByZero = feDivByZero
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...
[2 of 3] Compiling Numeric.IEEE.RoundMode ( src/Numeric/IEEE/RoundMode.hs, dist/build/Numeric/IEEE/RoundMode.o, dist/build/Numeric/IEEE/RoundMode.dyn_o )
src/Numeric/IEEE/RoundMode.hs:42:3: warning: [GHC-62161] [-Wincomplete-patterns]
Pattern match(es) are non-exhaustive
In an equation for toEnum: Patterns of type Int not matched: _
|
42 | toEnum n
| ^^^^^^^^...
[3 of 3] Compiling Numeric.IEEE.Monad ( src/Numeric/IEEE/Monad.hs, dist/build/Numeric/IEEE/Monad.o, dist/build/Numeric/IEEE/Monad.dyn_o )
src/Numeric/IEEE/Monad.hs:24:1: warning: [GHC-66111] [-Wunused-imports]
The import of Control.Applicative is redundant
except perhaps to import instances from Control.Applicative
To import instances alone, use: import Control.Applicative()
|
24 | import Control.Applicative
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
src/Numeric/IEEE/Monad.hs:27:1: warning: [GHC-66111] [-Wunused-imports]
The import of Control.Monad is redundant
except perhaps to import instances from Control.Monad
To import instances alone, use: import Control.Monad()
|
27 | import Control.Monad
| ^^^^^^^^^^^^^^^^^^^^
src/Numeric/IEEE/Monad.hs:63:3: warning: [GHC-81995] [-Wunused-do-bind]
A do-notation statement discarded a result of type Bool
Suggested fix:
Suppress this warning by saying
_ <- getFloatExcepts >>= clearFloatExcepts
|
63 | getFloatExcepts >>= clearFloatExcepts
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/Numeric/IEEE/Monad.hs:79:3: warning: [GHC-81995] [-Wunused-do-bind]
A do-notation statement discarded a result of type Bool
Suggested fix:
Suppress this warning by saying _ <- setRound Upward
|
79 | setRound Upward
| ^^^^^^^^^^^^^^^
src/Numeric/IEEE/Monad.hs:81:3: warning: [GHC-81995] [-Wunused-do-bind]
A do-notation statement discarded a result of type Bool
Suggested fix:
Suppress this warning by saying _ <- setRound Downward
|
81 | setRound Downward
| ^^^^^^^^^^^^^^^^^
src/Numeric/IEEE/Monad.hs:83:3: warning: [GHC-81995] [-Wunused-do-bind]
A do-notation statement discarded a result of type Bool
Suggested fix:
Suppress this warning by saying _ <- setRound ToNearest
|
83 | setRound ToNearest
| ^^^^^^^^^^^^^^^^^^
src/Numeric/IEEE/Monad.hs:85:3: warning: [GHC-81995] [-Wunused-do-bind]
A do-notation statement discarded a result of type Bool
Suggested fix:
Suppress this warning by saying _ <- setRound TowardZero
|
85 | setRound TowardZero
| ^^^^^^^^^^^^^^^^^^^
src/Numeric/IEEE/Monad.hs:87:3: warning: [GHC-81995] [-Wunused-do-bind]
A do-notation statement discarded a result of type Bool
Suggested fix: Suppress this warning by saying _ <- setRound x
|
87 | setRound x
| ^^^^^^^^^^
Preprocessing library for ieee-utils-tempfix-0.4.0.1..
Running Haddock on library for ieee-utils-tempfix-0.4.0.1..
Warning: --source-* options are ignored when --hyperlinked-source is enabled.
[1 of 3] Compiling Numeric.IEEE.FloatExceptions ( src/Numeric/IEEE/FloatExceptions.hs, nothing )
src/Numeric/IEEE/FloatExceptions.hs:39:1: warning: [GHC-90177] [-Worphans]
Orphan class instance: instance Enum ArithException
Suggested fix:
Move the instance declaration to the module of the class or of the type, or
wrap the type with a newtype and declare the instance on the new type.
|
39 | instance Enum ArithException where
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...
[2 of 3] Compiling Numeric.IEEE.RoundMode ( src/Numeric/IEEE/RoundMode.hs, nothing )
[3 of 3] Compiling Numeric.IEEE.Monad ( src/Numeric/IEEE/Monad.hs, nothing )
src/Numeric/IEEE/Monad.hs:24:1: warning: [GHC-66111] [-Wunused-imports]
The import of Control.Applicative is redundant
except perhaps to import instances from Control.Applicative
To import instances alone, use: import Control.Applicative()
|
24 | import Control.Applicative
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
src/Numeric/IEEE/Monad.hs:27:1: warning: [GHC-66111] [-Wunused-imports]
The import of Control.Monad is redundant
except perhaps to import instances from Control.Monad
To import instances alone, use: import Control.Monad()
|
27 | import Control.Monad
| ^^^^^^^^^^^^^^^^^^^^
src/Numeric/IEEE/Monad.hs:63:3: warning: [GHC-81995] [-Wunused-do-bind]
A do-notation statement discarded a result of type Bool
Suggested fix:
Suppress this warning by saying
_ <- getFloatExcepts >>= clearFloatExcepts
|
63 | getFloatExcepts >>= clearFloatExcepts
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/Numeric/IEEE/Monad.hs:79:3: warning: [GHC-81995] [-Wunused-do-bind]
A do-notation statement discarded a result of type Bool
Suggested fix:
Suppress this warning by saying _ <- setRound Upward
|
79 | setRound Upward
| ^^^^^^^^^^^^^^^
src/Numeric/IEEE/Monad.hs:81:3: warning: [GHC-81995] [-Wunused-do-bind]
A do-notation statement discarded a result of type Bool
Suggested fix:
Suppress this warning by saying _ <- setRound Downward
|
81 | setRound Downward
| ^^^^^^^^^^^^^^^^^
src/Numeric/IEEE/Monad.hs:83:3: warning: [GHC-81995] [-Wunused-do-bind]
A do-notation statement discarded a result of type Bool
Suggested fix:
Suppress this warning by saying _ <- setRound ToNearest
|
83 | setRound ToNearest
| ^^^^^^^^^^^^^^^^^^
src/Numeric/IEEE/Monad.hs:85:3: warning: [GHC-81995] [-Wunused-do-bind]
A do-notation statement discarded a result of type Bool
Suggested fix:
Suppress this warning by saying _ <- setRound TowardZero
|
85 | setRound TowardZero
| ^^^^^^^^^^^^^^^^^^^
src/Numeric/IEEE/Monad.hs:87:3: warning: [GHC-81995] [-Wunused-do-bind]
A do-notation statement discarded a result of type Bool
Suggested fix: Suppress this warning by saying _ <- setRound x
|
87 | setRound x
| ^^^^^^^^^^
Haddock coverage:
100% ( 4 / 4) in 'Numeric.IEEE.FloatExceptions'
75% ( 3 / 4) in 'Numeric.IEEE.RoundMode'
Missing documentation for:
RoundMode (src/Numeric/IEEE/RoundMode.hs:23)
57% ( 8 / 14) in 'Numeric.IEEE.Monad'
Missing documentation for:
IEEE (src/Numeric/IEEE/Monad.hs:35)
runIEEE (src/Numeric/IEEE/Monad.hs:38)
getRound (src/Numeric/IEEE/Monad.hs:45)
setRound (src/Numeric/IEEE/Monad.hs:48)
clearFloatExcepts (src/Numeric/IEEE/Monad.hs:51)
getFloatExcepts (src/Numeric/IEEE/Monad.hs:54)
Documentation created: dist/doc/html/ieee-utils-tempfix/,
dist/doc/html/ieee-utils-tempfix/ieee-utils-tempfix.txt
Installing library in /var/lib/hackage-doc-builder/build-cache/tmp-install/lib/x86_64-linux-ghc-9.8.4/ieee-utils-tempfix-0.4.0.1-LnGqx4JskWT6lPur0GZ67n
Completed ieee-utils-tempfix-0.4.0.1
Test log
[view raw]
Resolving dependencies... No tests to run for all the packages in the project