Build #1 for lhs2tex-1.26
| Package | lhs2tex-1.26 |
|---|
| Install | InstallOk |
|---|---|
| Docs | Ok |
| Tests | NotTried |
| Time submitted | 2025-12-30 14:51:30.788440034 UTC |
|---|---|
| Compiler | ghc-9.8.4 |
| OS | linux |
| Arch | x86_64 |
| Dependencies | base-4.19.2.0, directory-1.3.8.5, filepath-1.4.301.0, mtl-2.3.1, process-1.6.25.0, regex-compat-0.95.2.2 |
| Flags | none |
Code Coverage
No Code Coverage was submitted for this report.
Build log
[view raw]
Resolving dependencies...
Configuring regex-base-0.94.0.3...
Preprocessing library for regex-base-0.94.0.3..
Building library for regex-base-0.94.0.3..
[1 of 5] Compiling Paths_regex_base ( dist/build/autogen/Paths_regex_base.hs, dist/build/Paths_regex_base.o, dist/build/Paths_regex_base.dyn_o )
[2 of 5] Compiling Text.Regex.Base.RegexLike ( src/Text/Regex/Base/RegexLike.hs, dist/build/Text/Regex/Base/RegexLike.o, dist/build/Text/Regex/Base/RegexLike.dyn_o )
[3 of 5] Compiling Text.Regex.Base.Context ( src/Text/Regex/Base/Context.hs, dist/build/Text/Regex/Base/Context.o, dist/build/Text/Regex/Base/Context.dyn_o )
src/Text/Regex/Base/Context.hs:316:10: warning: [GHC-62161] [-Wincomplete-uni-patterns]
Pattern match(es) are non-exhaustive
In a pattern binding:
Patterns of type [(b, (MatchOffset, MatchLength))] not matched:
[]
|
316 | let ((whole,_):subs) = elems ma
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/Text/Regex/Base/Context.hs:329:41: warning: [GHC-62161] [-Wincomplete-uni-patterns]
Pattern match(es) are non-exhaustive
In a pattern binding:
Patterns of type [(b, (MatchOffset, MatchLength))] not matched:
[]
|
329 | matchM = actOn (\(pre,ma,post) -> let ((whole,_):_) = elems ma
| ^^^^^^^^^^^^^^^^^^^^^^^^
src/Text/Regex/Base/Context.hs:334:41: warning: [GHC-62161] [-Wincomplete-uni-patterns]
Pattern match(es) are non-exhaustive
In a pattern binding:
Patterns of type [(b, (MatchOffset, MatchLength))] not matched:
[]
|
334 | matchM = actOn (\(pre,ma,post) -> let ((whole,_):subs) = elems ma
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[4 of 5] Compiling Text.Regex.Base ( src/Text/Regex/Base.hs, dist/build/Text/Regex/Base.o, dist/build/Text/Regex/Base.dyn_o )
[5 of 5] Compiling Text.Regex.Base.Impl ( src/Text/Regex/Base/Impl.hs, dist/build/Text/Regex/Base/Impl.o, dist/build/Text/Regex/Base/Impl.dyn_o )
Preprocessing library for regex-base-0.94.0.3..
Running Haddock on library for regex-base-0.94.0.3..
Warning: --source-* options are ignored when --hyperlinked-source is enabled.
[1 of 5] Compiling Paths_regex_base ( dist/build/autogen/Paths_regex_base.hs, nothing )
[2 of 5] Compiling Text.Regex.Base.RegexLike ( src/Text/Regex/Base/RegexLike.hs, nothing )
[3 of 5] Compiling Text.Regex.Base.Context ( src/Text/Regex/Base/Context.hs, nothing )
[4 of 5] Compiling Text.Regex.Base ( src/Text/Regex/Base.hs, nothing )
[5 of 5] Compiling Text.Regex.Base.Impl ( src/Text/Regex/Base/Impl.hs, nothing )
Haddock coverage:
Warning: 'ByteString' is out of scope.
If you qualify the identifier, haddock can try to link it anyway.
Warning: 'target' is out of scope.
If you qualify the identifier, haddock can try to link it anyway.
Warning: 'fail' is out of scope.
If you qualify the identifier, haddock can try to link it anyway.
Warning: 'regex' is out of scope.
If you qualify the identifier, haddock can try to link it anyway.
Warning: 'source' is out of scope.
If you qualify the identifier, haddock can try to link it anyway.
Warning: 'MonadError' is out of scope.
If you qualify the identifier, haddock can try to link it anyway.
94% ( 17 / 18) in 'Text.Regex.Base.RegexLike'
Missing documentation for:
MatchText (src/Text/Regex/Base/RegexLike.hs:67)
Warning: 'makeRegex' is out of scope.
If you qualify the identifier, haddock can try to link it anyway.
Warning: 'RegexMaker' is out of scope.
If you qualify the identifier, haddock can try to link it anyway.
Warning: 'AllSubmatches' is ambiguous. It is defined
* at src/Text/Regex/Base/RegexLike.hs:277:29
* at src/Text/Regex/Base/RegexLike.hs:277: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/Text/Regex/Base/RegexLike.hs:277:1
Warning: 'AllTextSubmatches' is ambiguous. It is defined
* at src/Text/Regex/Base/RegexLike.hs:280:33
* at src/Text/Regex/Base/RegexLike.hs:280: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/Text/Regex/Base/RegexLike.hs:280:1
Warning: 'AllMatches' is ambiguous. It is defined
* at src/Text/Regex/Base/RegexLike.hs:283:26
* at src/Text/Regex/Base/RegexLike.hs:283: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/Text/Regex/Base/RegexLike.hs:283:1
Warning: 'AllTextMatches' is ambiguous. It is defined
* at src/Text/Regex/Base/RegexLike.hs:286:30
* at src/Text/Regex/Base/RegexLike.hs:286: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/Text/Regex/Base/RegexLike.hs:286:1
100% ( 1 / 1) in 'Text.Regex.Base.Context'
75% ( 3 / 4) in 'Text.Regex.Base'
Missing documentation for:
getVersion_Text_Regex_Base (src/Text/Regex/Base.hs:81)
33% ( 1 / 3) in 'Text.Regex.Base.Impl'
Missing documentation for:
polymatch (src/Text/Regex/Base/Impl.hs:65)
polymatchM (src/Text/Regex/Base/Impl.hs:71)
Documentation created: dist/doc/html/regex-base/,
dist/doc/html/regex-base/regex-base.txt
Installing library in /var/lib/hackage-doc-builder/build-cache/tmp-install/lib/x86_64-linux-ghc-9.8.4/regex-base-0.94.0.3-72l25sDZMPyJAEvtAnFlwY
Completed regex-base-0.94.0.3
Configuring regex-posix-0.96.0.2...
Preprocessing library for regex-posix-0.96.0.2..
Building library for regex-posix-0.96.0.2..
[1 of 7] Compiling Paths_regex_posix ( dist/build/autogen/Paths_regex_posix.hs, dist/build/Paths_regex_posix.o, dist/build/Paths_regex_posix.dyn_o )
[2 of 7] Compiling Text.Regex.Posix.Wrap ( dist/build/Text/Regex/Posix/Wrap.hs, dist/build/Text/Regex/Posix/Wrap.o, dist/build/Text/Regex/Posix/Wrap.dyn_o )
[3 of 7] Compiling Text.Regex.Posix.String ( src/Text/Regex/Posix/String.hs, dist/build/Text/Regex/Posix/String.o, dist/build/Text/Regex/Posix/String.dyn_o )
[4 of 7] Compiling Text.Regex.Posix.Sequence ( src/Text/Regex/Posix/Sequence.hs, dist/build/Text/Regex/Posix/Sequence.o, dist/build/Text/Regex/Posix/Sequence.dyn_o )
[5 of 7] Compiling Text.Regex.Posix.ByteString ( src/Text/Regex/Posix/ByteString.hs, dist/build/Text/Regex/Posix/ByteString.o, dist/build/Text/Regex/Posix/ByteString.dyn_o )
[6 of 7] Compiling Text.Regex.Posix.ByteString.Lazy ( src/Text/Regex/Posix/ByteString/Lazy.hs, dist/build/Text/Regex/Posix/ByteString/Lazy.o, dist/build/Text/Regex/Posix/ByteString/Lazy.dyn_o )
[7 of 7] Compiling Text.Regex.Posix ( src/Text/Regex/Posix.hs, dist/build/Text/Regex/Posix.o, dist/build/Text/Regex/Posix.dyn_o )
Preprocessing library for regex-posix-0.96.0.2..
Running Haddock on library for regex-posix-0.96.0.2..
Warning: --source-* options are ignored when --hyperlinked-source is enabled.
[1 of 7] Compiling Paths_regex_posix ( dist/build/autogen/Paths_regex_posix.hs, nothing )
[2 of 7] Compiling Text.Regex.Posix.Wrap ( dist/build/Text/Regex/Posix/Wrap.hs, nothing )
[3 of 7] Compiling Text.Regex.Posix.String ( src/Text/Regex/Posix/String.hs, nothing )
[4 of 7] Compiling Text.Regex.Posix.Sequence ( src/Text/Regex/Posix/Sequence.hs, nothing )
[5 of 7] Compiling Text.Regex.Posix.ByteString ( src/Text/Regex/Posix/ByteString.hs, nothing )
[6 of 7] Compiling Text.Regex.Posix.ByteString.Lazy ( src/Text/Regex/Posix/ByteString/Lazy.hs, nothing )
[7 of 7] Compiling Text.Regex.Posix ( src/Text/Regex/Posix.hs, nothing )
Haddock coverage:
Warning: 'Regex' is ambiguous. It is defined
* at src/Text/Regex/Posix/Wrap.hsc:222:14
* at src/Text/Regex/Posix/Wrap.hsc:222: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/Text/Regex/Posix/Wrap.hsc:222:1
Warning: 'CompOption' is ambiguous. It is defined
* at src/Text/Regex/Posix/Wrap.hsc:175:22
* at src/Text/Regex/Posix/Wrap.hsc:175: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/Text/Regex/Posix/Wrap.hsc:175:1
Warning: 'ExecOption' is ambiguous. It is defined
* at src/Text/Regex/Posix/Wrap.hsc:188:22
* at src/Text/Regex/Posix/Wrap.hsc:188: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/Text/Regex/Posix/Wrap.hsc:188:1
Warning: 'CInt' is ambiguous. It is defined
* in Foreign.C.Types
* in Foreign.C.Types
You may be able to disambiguate the identifier by qualifying it or
by specifying the type/value namespace explicitly.
Defaulting to the one defined in Foreign.C.Types
40% ( 17 / 42) in 'Text.Regex.Posix.Wrap'
Missing documentation for:
RegOffsetT (src/Text/Regex/Posix/Wrap.hsc:152)
=~ (src/Text/Regex/Posix/Wrap.hsc:277)
=~~ (src/Text/Regex/Posix/Wrap.hsc:282)
wrapCompile (src/Text/Regex/Posix/Wrap.hsc:380)
wrapTest (src/Text/Regex/Posix/Wrap.hsc:395)
wrapCount (src/Text/Regex/Posix/Wrap.hsc:503)
unusedRegOffset (src/Text/Regex/Posix/Wrap.hsc:235)
compExtended (src/Text/Regex/Posix/Wrap.hsc:325)
compIgnoreCase (src/Text/Regex/Posix/Wrap.hsc:327)
compNoSub (src/Text/Regex/Posix/Wrap.hsc:329)
compNewline (src/Text/Regex/Posix/Wrap.hsc:331)
execNotBOL (src/Text/Regex/Posix/Wrap.hsc:320)
execNotEOL (src/Text/Regex/Posix/Wrap.hsc:322)
retBadbr (src/Text/Regex/Posix/Wrap.hsc:336)
retBadpat (src/Text/Regex/Posix/Wrap.hsc:338)
retBadrpt (src/Text/Regex/Posix/Wrap.hsc:340)
retEcollate (src/Text/Regex/Posix/Wrap.hsc:342)
retEctype (src/Text/Regex/Posix/Wrap.hsc:344)
retEescape (src/Text/Regex/Posix/Wrap.hsc:346)
retEsubreg (src/Text/Regex/Posix/Wrap.hsc:348)
retEbrack (src/Text/Regex/Posix/Wrap.hsc:350)
retEparen (src/Text/Regex/Posix/Wrap.hsc:352)
retEbrace (src/Text/Regex/Posix/Wrap.hsc:354)
retErange (src/Text/Regex/Posix/Wrap.hsc:356)
retEspace (src/Text/Regex/Posix/Wrap.hsc:358)
68% ( 17 / 25) in 'Text.Regex.Posix.String'
Missing documentation for:
unusedOffset (src/Text/Regex/Posix/String.hs:77)
compile (src/Text/Regex/Posix/String.hs:104)
compExtended (src/Text/Regex/Posix/Wrap.hsc:325)
compIgnoreCase (src/Text/Regex/Posix/Wrap.hsc:327)
compNoSub (src/Text/Regex/Posix/Wrap.hsc:329)
compNewline (src/Text/Regex/Posix/Wrap.hsc:331)
execNotBOL (src/Text/Regex/Posix/Wrap.hsc:320)
execNotEOL (src/Text/Regex/Posix/Wrap.hsc:322)
Warning: 'String' is out of scope.
If you qualify the identifier, haddock can try to link it anyway.
66% ( 16 / 24) in 'Text.Regex.Posix.Sequence'
Missing documentation for:
unusedOffset (src/Text/Regex/Posix/Sequence.hs:79)
compile (src/Text/Regex/Posix/Sequence.hs:106)
compExtended (src/Text/Regex/Posix/Wrap.hsc:325)
compIgnoreCase (src/Text/Regex/Posix/Wrap.hsc:327)
compNoSub (src/Text/Regex/Posix/Wrap.hsc:329)
compNewline (src/Text/Regex/Posix/Wrap.hsc:331)
execNotBOL (src/Text/Regex/Posix/Wrap.hsc:320)
execNotEOL (src/Text/Regex/Posix/Wrap.hsc:322)
68% ( 17 / 25) in 'Text.Regex.Posix.ByteString'
Missing documentation for:
unusedOffset (src/Text/Regex/Posix/ByteString.hs:150)
regexec (src/Text/Regex/Posix/ByteString.hs:133)
compExtended (src/Text/Regex/Posix/Wrap.hsc:325)
compIgnoreCase (src/Text/Regex/Posix/Wrap.hsc:327)
compNoSub (src/Text/Regex/Posix/Wrap.hsc:329)
compNewline (src/Text/Regex/Posix/Wrap.hsc:331)
execNotBOL (src/Text/Regex/Posix/Wrap.hsc:320)
execNotEOL (src/Text/Regex/Posix/Wrap.hsc:322)
68% ( 17 / 25) in 'Text.Regex.Posix.ByteString.Lazy'
Missing documentation for:
unusedOffset (src/Text/Regex/Posix/ByteString/Lazy.hs:148)
regexec (src/Text/Regex/Posix/ByteString/Lazy.hs:138)
compExtended (src/Text/Regex/Posix/Wrap.hsc:325)
compIgnoreCase (src/Text/Regex/Posix/Wrap.hsc:327)
compNoSub (src/Text/Regex/Posix/Wrap.hsc:329)
compNewline (src/Text/Regex/Posix/Wrap.hsc:331)
execNotBOL (src/Text/Regex/Posix/Wrap.hsc:320)
execNotEOL (src/Text/Regex/Posix/Wrap.hsc:322)
Warning: 'String' is out of scope.
If you qualify the identifier, haddock can try to link it anyway.
44% ( 8 / 18) in 'Text.Regex.Posix'
Missing documentation for:
getVersion_Text_Regex_Posix (src/Text/Regex/Posix.hs:74)
=~ (src/Text/Regex/Posix/Wrap.hsc:277)
=~~ (src/Text/Regex/Posix/Wrap.hsc:282)
unusedRegOffset (src/Text/Regex/Posix/Wrap.hsc:235)
compExtended (src/Text/Regex/Posix/Wrap.hsc:325)
compIgnoreCase (src/Text/Regex/Posix/Wrap.hsc:327)
compNoSub (src/Text/Regex/Posix/Wrap.hsc:329)
compNewline (src/Text/Regex/Posix/Wrap.hsc:331)
execNotBOL (src/Text/Regex/Posix/Wrap.hsc:320)
execNotEOL (src/Text/Regex/Posix/Wrap.hsc:322)
Warning: Text.Regex.Posix.Wrap: could not find link destinations for:
- Text.Regex.Posix.Wrap.retNoMatch
Warning: Text.Regex.Posix.String: could not find link destinations for:
- Text.Regex.Posix.Wrap.retNoMatch
Warning: Text.Regex.Posix.Sequence: could not find link destinations for:
- Text.Regex.Posix.Wrap.retNoMatch
Warning: Text.Regex.Posix.ByteString: could not find link destinations for:
- Text.Regex.Posix.Wrap.retNoMatch
Warning: Text.Regex.Posix.ByteString.Lazy: could not find link destinations for:
- Text.Regex.Posix.Wrap.retNoMatch
Documentation created: dist/doc/html/regex-posix/,
dist/doc/html/regex-posix/regex-posix.txt
Installing library in /var/lib/hackage-doc-builder/build-cache/tmp-install/lib/x86_64-linux-ghc-9.8.4/regex-posix-0.96.0.2-JnyNo63lFtG4qfsCC698Eo
Completed regex-posix-0.96.0.2
Configuring regex-compat-0.95.2.2...
Preprocessing library for regex-compat-0.95.2.2..
Building library for regex-compat-0.95.2.2..
[1 of 1] Compiling Text.Regex ( Text/Regex.hs, dist/build/Text/Regex.o, dist/build/Text/Regex.dyn_o )
Preprocessing library for regex-compat-0.95.2.2..
Running Haddock on library for regex-compat-0.95.2.2..
Warning: --source-* options are ignored when --hyperlinked-source is enabled.
[1 of 1] Compiling Text.Regex ( Text/Regex.hs, nothing )
Haddock coverage:
Warning: 'True' is out of scope.
If you qualify the identifier, haddock can try to link it anyway.
Warning: 'Just' is out of scope.
If you qualify the identifier, haddock can try to link it anyway.
Warning: 'Nothing' is out of scope.
If you qualify the identifier, haddock can try to link it anyway.
100% ( 9 / 9) in 'Text.Regex'
Documentation created: dist/doc/html/regex-compat/,
dist/doc/html/regex-compat/regex-compat.txt
Installing library in /var/lib/hackage-doc-builder/build-cache/tmp-install/lib/x86_64-linux-ghc-9.8.4/regex-compat-0.95.2.2-2ScCa4EPoi77GNW39ulmKk
Completed regex-compat-0.95.2.2
Downloading lhs2tex-1.26
Downloaded lhs2tex-1.26
[1 of 2] Compiling Main ( /tmp/cabal-tmp-718014/lhs2tex-1.26/dist/setup/setup.hs, /tmp/cabal-tmp-718014/lhs2tex-1.26/dist/setup/Main.o )
[2 of 2] Linking /tmp/cabal-tmp-718014/lhs2tex-1.26/dist/setup/setup
Configuring lhs2tex-1.26...
Warning: No texmf tree found, polytable package cannot be installed
Preprocessing executable 'lhs2TeX' for lhs2tex-1.26..
Building executable 'lhs2TeX' for lhs2tex-1.26..
[ 1 of 21] Compiling Auxiliaries ( src/Auxiliaries.lhs, dist/build/lhs2TeX/lhs2TeX-tmp/Auxiliaries.o )
[ 2 of 21] Compiling Document ( src/Document.lhs, dist/build/lhs2TeX/lhs2TeX-tmp/Document.o )
[ 3 of 21] Compiling FileNameUtils ( src/FileNameUtils.lhs, dist/build/lhs2TeX/lhs2TeX-tmp/FileNameUtils.o )
src/FileNameUtils.lhs:35:30: warning: [GHC-63394] [-Wx-partial]
In the use of head
(imported from Data.List, 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."
|
35 | > | isSearchPathSeparator (head np) = p ++ split
| ^^^^
src/FileNameUtils.lhs:85:54: warning: [GHC-63394] [-Wx-partial]
In the use of head
(imported from Data.List, 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."
|
85 | > then return [[head sep']] {- we don't descend from root -}
| ^^^^
src/FileNameUtils.lhs:94:76: warning: [GHC-63394] [-Wx-partial]
In the use of head
(imported from Data.List, 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."
|
94 | > . filter ((/='.') . head) . filter (not . null) $ d
| ^^^^
[ 4 of 21] Compiling FiniteMap ( src/FiniteMap.lhs, dist/build/lhs2TeX/lhs2TeX-tmp/FiniteMap.o )
[ 5 of 21] Compiling Parser ( src/Parser.lhs, dist/build/lhs2TeX/lhs2TeX-tmp/Parser.o )
[ 6 of 21] Compiling StateT ( src/StateT.lhs, dist/build/lhs2TeX/lhs2TeX-tmp/StateT.o )
[ 7 of 21] Compiling TeXCommands ( src/TeXCommands.lhs, dist/build/lhs2TeX/lhs2TeX-tmp/TeXCommands.o )
[ 8 of 21] Compiling HsLexer ( src/HsLexer.lhs, dist/build/lhs2TeX/lhs2TeX-tmp/HsLexer.o )
src/HsLexer.lhs:108:39: 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."
|
108 | > | not (null s') && isSymbol lang (head s')
| ^^^^
[ 9 of 21] Compiling TeXParser ( src/TeXParser.lhs, dist/build/lhs2TeX/lhs2TeX-tmp/TeXParser.o )
[10 of 21] Compiling Value ( src/Value.lhs, dist/build/lhs2TeX/lhs2TeX-tmp/Value.o )
[11 of 21] Compiling Directives ( src/Directives.lhs, dist/build/lhs2TeX/lhs2TeX-tmp/Directives.o )
src/Directives.lhs:81:48: warning: [GHC-63394] [-Wx-partial]
In the use of head
(imported from Data.List, 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."
|
81 | > | null t && not (null w) && (null v || head w == '_')
| ^^^^
src/Directives.lhs:117:51: warning: [GHC-63394] [-Wx-partial]
In the use of tail
(imported from Data.List, 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."
|
117 | > tok_u = tokenize lang (tail u)
| ^^^^
src/Directives.lhs:119:54: warning: [GHC-63394] [-Wx-partial]
In the use of tail
(imported from Data.List, 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."
|
119 | > Left _ -> [f (tail u)] -- should not happen
| ^^^^
[12 of 21] Compiling Verbatim ( src/Verbatim.lhs, dist/build/lhs2TeX/lhs2TeX-tmp/Verbatim.o )
[13 of 21] Compiling Typewriter ( src/Typewriter.lhs, dist/build/lhs2TeX/lhs2TeX-tmp/Typewriter.o )
src/Typewriter.lhs:54:74: 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."
|
54 | > tex _ (Char s) = sub'char (catenate (map conv' (init $ tail s))) -- NEW: remove quotes
| ^^^^
src/Typewriter.lhs:55:76: 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."
|
55 | > tex _ (String s) = sub'string (catenate (map conv' (init $ tail s))) -- NEW: remove quotes
| ^^^^
[14 of 21] Compiling MathCommon ( src/MathCommon.lhs, dist/build/lhs2TeX/lhs2TeX-tmp/MathCommon.o )
[15 of 21] Compiling MathPoly ( src/MathPoly.lhs, dist/build/lhs2TeX/lhs2TeX-tmp/MathPoly.o )
src/MathPoly.lhs:198:20: 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."
|
198 | > let lu = head [ u | u <- reverse us, poscol u /= 0 || posrow u /= 0 ]
| ^^^^
[16 of 21] Compiling NewCode ( src/NewCode.lhs, dist/build/lhs2TeX/lhs2TeX-tmp/NewCode.o )
src/NewCode.lhs:92:73: 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."
|
92 | > tex _ (Char s) = sub'char (catenate (map conv (init $ tail s))) -- NEW: remove quotes
| ^^^^
src/NewCode.lhs:93:75: 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."
|
93 | > tex _ (String s) = sub'string (catenate (map conv (init $ tail s))) -- NEW: remove quotes
| ^^^^
[17 of 21] Compiling Math ( src/Math.lhs, dist/build/lhs2TeX/lhs2TeX-tmp/Math.o )
[18 of 21] Compiling Version ( src/Version.lhs, dist/build/lhs2TeX/lhs2TeX-tmp/Version.o )
[19 of 21] Compiling State ( src/State.lhs, dist/build/lhs2TeX/lhs2TeX-tmp/State.o )
[20 of 21] Compiling License ( src/License.lhs, dist/build/lhs2TeX/lhs2TeX-tmp/License.o )
[21 of 21] Compiling Main ( src/Main.lhs, dist/build/lhs2TeX/lhs2TeX-tmp/Main.o )
[22 of 22] Linking dist/build/lhs2TeX/lhs2TeX
Warning: No documentation was generated as this package does not contain a
library. Perhaps you want to use the --executables, --tests, --benchmarks or
--foreign-libraries flags.
Installing executable lhs2TeX in /var/lib/hackage-doc-builder/build-cache/tmp-install/bin
Warning: The directory
/var/lib/hackage-doc-builder/build-cache/tmp-install/bin is not in the system
search path.
Completed lhs2tex-1.26
Test log
[view raw]
Resolving dependencies... No tests to run for all the packages in the project