Build #2 for control-monad-free-0.6.2
| Package | control-monad-free-0.6.2 |
|---|
| Install | InstallOk |
|---|---|
| Docs | Ok |
| Tests | NotTried |
| Time submitted | 2025-11-25 21:15:35.556942283 UTC |
|---|---|
| Compiler | ghc-9.8.4 |
| OS | linux |
| Arch | x86_64 |
| Dependencies | base-4.19.2.0, transformers-0.6.1.0 |
| Flags | none |
Code Coverage
No Code Coverage was submitted for this report.
Build log
[view raw]
Resolving dependencies...
Warning: control-monad-free.cabal:3:24: Packages with 'cabal-version: 1.12' or
later should specify a specific version of the Cabal spec of the form
'cabal-version: x.y'. Use 'cabal-version: 1.24'.
Configuring control-monad-free-0.6.2...
Preprocessing library for control-monad-free-0.6.2..
Building library for control-monad-free-0.6.2..
[1 of 3] Compiling Control.Monad.Free ( Control/Monad/Free.hs, dist/build/Control/Monad/Free.o, dist/build/Control/Monad/Free.dyn_o )
Control/Monad/Free.hs:84:5: warning: [GHC-22705] [-Wnoncanonical-monad-instances]
Noncanonical return definition detected
in the instance declaration for Monad (Free f).
return will eventually be removed in favour of pure
Suggested fix:
Either remove definition for return (recommended) or define as return = pure
See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return
|
84 | return = Pure
| ^^^^^^^^^^^^^^^^^^^^^^
Control/Monad/Free.hs:149:5: warning: [GHC-22705] [-Wnoncanonical-monad-instances]
Noncanonical return definition detected
in the instance declaration for Monad (FreeT f m).
return will eventually be removed in favour of pure
Suggested fix:
Either remove definition for return (recommended) or define as return = pure
See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return
|
149 | return = FreeT . return . Left
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[2 of 3] Compiling Control.Monad.Free.Improve ( Control/Monad/Free/Improve.hs, dist/build/Control/Monad/Free/Improve.o, dist/build/Control/Monad/Free/Improve.dyn_o )
Control/Monad/Free/Improve.hs:37:3: warning: [GHC-22705] [-Wnoncanonical-monad-instances]
Noncanonical return definition detected
in the instance declaration for Monad (C mu).
return will eventually be removed in favour of pure
Suggested fix:
Either remove definition for return (recommended) or define as return = pure
See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return
|
37 | return a = C (\h -> h a)
| ^^^^^^^^^^^^^^^^^^^^^^^^
Control/Monad/Free/Improve.hs:41:3: warning: [GHC-22705] [-Wnoncanonical-monad-instances]
Noncanonical pure = return definition detected
in the instance declaration for Applicative (C mu).
Suggested fix:
Move definition from return to pure
See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return
|
41 | pure = return
| ^^^^^^^^^^^^^
[3 of 3] Compiling Control.Monad.Free.Zip ( Control/Monad/Free/Zip.hs, dist/build/Control/Monad/Free/Zip.o, dist/build/Control/Monad/Free/Zip.dyn_o )
Preprocessing library for control-monad-free-0.6.2..
Running Haddock on library for control-monad-free-0.6.2..
Warning: --source-* options are ignored when --hyperlinked-source is enabled.
[1 of 3] Compiling Control.Monad.Free ( Control/Monad/Free.hs, nothing )
Control/Monad/Free.hs:84:5: warning: [GHC-22705] [-Wnoncanonical-monad-instances]
Noncanonical return definition detected
in the instance declaration for Monad (Free f).
return will eventually be removed in favour of pure
Suggested fix:
Either remove definition for return (recommended) or define as return = pure
See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return
|
84 | return = Pure
| ^^^^^^^^^^^^^^^^^^^^^^
Control/Monad/Free.hs:149:5: warning: [GHC-22705] [-Wnoncanonical-monad-instances]
Noncanonical return definition detected
in the instance declaration for Monad (FreeT f m).
return will eventually be removed in favour of pure
Suggested fix:
Either remove definition for return (recommended) or define as return = pure
See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return
|
149 | return = FreeT . return . Left
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[2 of 3] Compiling Control.Monad.Free.Improve ( Control/Monad/Free/Improve.hs, nothing )
Control/Monad/Free/Improve.hs:37:3: warning: [GHC-22705] [-Wnoncanonical-monad-instances]
Noncanonical return definition detected
in the instance declaration for Monad (C mu).
return will eventually be removed in favour of pure
Suggested fix:
Either remove definition for return (recommended) or define as return = pure
See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return
|
37 | return a = C (\h -> h a)
| ^^^^^^^^^^^^^^^^^^^^^^^^
Control/Monad/Free/Improve.hs:41:3: warning: [GHC-22705] [-Wnoncanonical-monad-instances]
Noncanonical pure = return definition detected
in the instance declaration for Applicative (C mu).
Suggested fix:
Move definition from return to pure
See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return
|
41 | pure = return
| ^^^^^^^^^^^^^
[3 of 3] Compiling Control.Monad.Free.Zip ( Control/Monad/Free/Zip.hs, nothing )
Haddock coverage:
Warning: 'Opens' is out of scope.
If you qualify the identifier, haddock can try to link it anyway.
66% ( 42 / 63) in 'Control.Monad.Free'
Missing documentation for:
Module header
Free (Control/Monad/Free.hs:49)
isPure (Control/Monad/Free.hs:95)
isImpure (Control/Monad/Free.hs:96)
foldFree (Control/Monad/Free.hs:99)
evalFree (Control/Monad/Free.hs:114)
mapFree (Control/Monad/Free.hs:118)
mapFreeM (Control/Monad/Free.hs:121)
mapFreeM' (Control/Monad/Free.hs:128)
foldFreeM (Control/Monad/Free.hs:103)
induce (Control/Monad/Free.hs:111)
FreeT (Control/Monad/Free.hs:133)
foldFreeT (Control/Monad/Free.hs:174)
foldFreeT' (Control/Monad/Free.hs:181)
mapFreeT (Control/Monad/Free.hs:187)
foldFreeA (Control/Monad/Free.hs:107)
mapFreeA (Control/Monad/Free.hs:125)
trans (Control/Monad/Free.hs:194)
trans' (Control/Monad/Free.hs:197)
untrans (Control/Monad/Free.hs:191)
liftFree (Control/Monad/Free.hs:200)
25% ( 1 / 4) in 'Control.Monad.Free.Improve'
Missing documentation for:
C (Control/Monad/Free/Improve.hs:24)
rep (Control/Monad/Free/Improve.hs:27)
improve (Control/Monad/Free/Improve.hs:30)
0% ( 0 / 3) in 'Control.Monad.Free.Zip'
Missing documentation for:
Module header
zipFree (Control/Monad/Free/Zip.hs:17)
zipFree_ (Control/Monad/Free/Zip.hs:24)
Warning: Control.Monad.Free: could not find link destinations for:
- Text.ParserCombinators.ReadP.P
- Control.Monad.Free.Rep_Free
Documentation created: dist/doc/html/control-monad-free/,
dist/doc/html/control-monad-free/control-monad-free.txt
Installing library in /var/lib/hackage-doc-builder/build-cache/tmp-install/lib/x86_64-linux-ghc-9.8.4/control-monad-free-0.6.2-U36Grlzad57QywJXA2bj9
Completed control-monad-free-0.6.2
Test log
[view raw]
Resolving dependencies... No tests to run for all the packages in the project