Resolving dependencies... Downloading layoutz-0.2.0.0 Downloaded layoutz-0.2.0.0 Configuring layoutz-0.2.0.0... Preprocessing library for layoutz-0.2.0.0.. Building library for layoutz-0.2.0.0.. [1 of 1] Compiling Layoutz ( Layoutz.hs, dist/build/Layoutz.o, dist/build/Layoutz.dyn_o ) Layoutz.hs:86:61: warning: [GHC-38856] [-Wunused-imports] The import of Chan from module Control.Concurrent is redundant | 86 | import Control.Concurrent (forkIO, threadDelay, killThread, Chan, newChan, writeChan, readChan) | ^^^^ Layoutz.hs:454:17: 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." | 454 | hChar = head horizontal | ^^^^ Layoutz.hs:481:17: 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." | 481 | hChar = head horizontal | ^^^^ Layoutz.hs:557:17: 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." | 557 | hChar = head horizontal | ^^^^ Layoutz.hs:623:43: 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." | 623 | let header = replicate flankingChars (head glyph) ++ " " ++ title ++ " " ++ replicate flankingChars (head glyph) | ^^^^ Layoutz.hs:623:106: 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." | 623 | let header = replicate flankingChars (head glyph) ++ " " ++ title ++ " " ++ replicate flankingChars (head glyph) | ^^^^ Preprocessing library for layoutz-0.2.0.0.. Running Haddock on library for layoutz-0.2.0.0.. Warning: --source-* options are ignored when --hyperlinked-source is enabled. [1 of 1] Compiling Layoutz ( Layoutz.hs, nothing ) Layoutz.hs:86:61: warning: [GHC-38856] [-Wunused-imports] The import of Chan from module Control.Concurrent is redundant | 86 | import Control.Concurrent (forkIO, threadDelay, killThread, Chan, newChan, writeChan, readChan) | ^^^^ Layoutz.hs:454:17: 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." | 454 | hChar = head horizontal | ^^^^ Layoutz.hs:481:17: 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." | 481 | hChar = head horizontal | ^^^^ Layoutz.hs:557:17: 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." | 557 | hChar = head horizontal | ^^^^ Layoutz.hs:623:43: 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." | 623 | let header = replicate flankingChars (head glyph) ++ " " ++ title ++ " " ++ replicate flankingChars (head glyph) | ^^^^ Layoutz.hs:623:106: 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." | 623 | let header = replicate flankingChars (head glyph) ++ " " ++ title ++ " " ++ replicate flankingChars (head glyph) | ^^^^ Haddock coverage: Warning: 'a' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 78% ( 59 / 75) in 'Layoutz' Missing documentation for: Element (Layoutz.hs:170) Border (Layoutz.hs:257) Color (Layoutz.hs:274) Style (Layoutz.hs:315) layout (Layoutz.hs:776) text (Layoutz.hs:735) br (Layoutz.hs:738) center (Layoutz.hs:741) row (Layoutz.hs:779) underline (Layoutz.hs:748) box (Layoutz.hs:826) statusCard (Layoutz.hs:773) ul (Layoutz.hs:764) ol (Layoutz.hs:767) inlineBar (Layoutz.hs:770) render (Layoutz.hs:189) Documentation created: dist/doc/html/layoutz/, dist/doc/html/layoutz/layoutz.txt Installing library in /var/lib/hackage-doc-builder/build-cache/tmp-install/lib/x86_64-linux-ghc-9.8.4/layoutz-0.2.0.0-Hhqxe3asVr29h2QZhWDfEM Completed layoutz-0.2.0.0