Resolving dependencies... Downloading fpnla-0.1.1 Downloaded fpnla-0.1.1 Warning: fpnla.cabal:38:32: version operators used. To use version operators the package needs to specify at least 'cabal-version: >= 1.8'. Configuring fpnla-0.1.1... Preprocessing library for fpnla-0.1.1.. Building library for fpnla-0.1.1.. [1 of 6] Compiling FPNLA.Utils ( src/FPNLA/Utils.hs, dist/build/FPNLA/Utils.o, dist/build/FPNLA/Utils.dyn_o ) [2 of 6] Compiling FPNLA.Matrix ( src/FPNLA/Matrix.hs, dist/build/FPNLA/Matrix.o, dist/build/FPNLA/Matrix.dyn_o ) src/FPNLA/Matrix.hs:145: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." | 145 | bssn = length $ head bss | ^^^^ src/FPNLA/Matrix.hs:146:34: 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." | 146 | (br, bc) = dim_m . head . head $ bss | ^^^^ src/FPNLA/Matrix.hs:146:41: 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." | 146 | (br, bc) = dim_m . head . head $ bss | ^^^^ src/FPNLA/Matrix.hs:147:34: 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." | 147 | lbr = cantRows_m . head . last $ bss | ^^^^ src/FPNLA/Matrix.hs:148:41: 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." | 148 | lbc = cantCols_m . last . head $ bss | ^^^^ src/FPNLA/Matrix.hs:188: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." | 188 | cr = length_v $ head css | ^^^^ src/FPNLA/Matrix.hs:207:16: warning: [GHC-62412] [-Wsimplifiable-class-constraints] " The constraint MatrixVector m v e matches instance (Vector v e, Matrix m e) => MatrixVector m v e -- Defined at src/FPNLA/Matrix.hs:192:10 This makes type inference for inner bindings fragile; either use MonoLocalBinds, or simplify it using the instance " In the type signature: asColumn_vm :: MatrixVector m v e => v e -> m e | 207 | asColumn_vm :: MatrixVector m v e => v e -> m e | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [3 of 6] Compiling FPNLA.Operations.Parameters ( src/FPNLA/Operations/Parameters.hs, dist/build/FPNLA/Operations/Parameters.o, dist/build/FPNLA/Operations/Parameters.dyn_o ) src/FPNLA/Operations/Parameters.hs:62:27: warning: [GHC-39567] [-Wstar-is-type] Using * (or its Unicode variant) to mean Data.Kind.Type relies on the StarIsType extension, which will become deprecated in the future. Suggested fix: Use Type from Data.Kind instead. | 62 | type family StratCtx s :: * | ^ src/FPNLA/Operations/Parameters.hs:66:19: warning: [GHC-39567] [-Wstar-is-type] Using * (or its Unicode variant) to mean Data.Kind.Type relies on the StarIsType extension, which will become deprecated in the future. Suggested fix: Use Type from Data.Kind instead. | 66 | data ResM s (v :: * -> *) m e = ResM { unResM :: m e } deriving (Show) | ^ src/FPNLA/Operations/Parameters.hs:66:24: warning: [GHC-39567] [-Wstar-is-type] Using * (or its Unicode variant) to mean Data.Kind.Type relies on the StarIsType extension, which will become deprecated in the future. Suggested fix: Use Type from Data.Kind instead. | 66 | data ResM s (v :: * -> *) m e = ResM { unResM :: m e } deriving (Show) | ^ [4 of 6] Compiling FPNLA.Operations.LAPACK ( src/FPNLA/Operations/LAPACK.hs, dist/build/FPNLA/Operations/LAPACK.o, dist/build/FPNLA/Operations/LAPACK.dyn_o ) [5 of 6] Compiling FPNLA.Operations.BLAS ( src/FPNLA/Operations/BLAS.hs, dist/build/FPNLA/Operations/BLAS.o, dist/build/FPNLA/Operations/BLAS.dyn_o ) [6 of 6] Compiling FPNLA.Matrix.Utils ( src/FPNLA/Matrix/Utils.hs, dist/build/FPNLA/Matrix/Utils.o, dist/build/FPNLA/Matrix/Utils.dyn_o ) src/FPNLA/Matrix/Utils.hs:13:11: warning: [GHC-62161] [-Wincomplete-patterns] Pattern match(es) are non-exhaustive In an equation for for: Patterns of type Int, Int not matched: _ _ | 13 | for i j | i >= m = return () | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^... Preprocessing library for fpnla-0.1.1.. Running Haddock on library for fpnla-0.1.1.. Warning: --source-* options are ignored when --hyperlinked-source is enabled. [1 of 6] Compiling FPNLA.Utils ( src/FPNLA/Utils.hs, nothing ) [2 of 6] Compiling FPNLA.Matrix ( src/FPNLA/Matrix.hs, nothing ) src/FPNLA/Matrix.hs:145: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." | 145 | bssn = length $ head bss | ^^^^ src/FPNLA/Matrix.hs:146:34: 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." | 146 | (br, bc) = dim_m . head . head $ bss | ^^^^ src/FPNLA/Matrix.hs:146:41: 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." | 146 | (br, bc) = dim_m . head . head $ bss | ^^^^ src/FPNLA/Matrix.hs:147:34: 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." | 147 | lbr = cantRows_m . head . last $ bss | ^^^^ src/FPNLA/Matrix.hs:148:41: 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." | 148 | lbc = cantCols_m . last . head $ bss | ^^^^ src/FPNLA/Matrix.hs:188: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." | 188 | cr = length_v $ head css | ^^^^ src/FPNLA/Matrix.hs:207:16: warning: [GHC-62412] [-Wsimplifiable-class-constraints] " The constraint MatrixVector m v e matches instance (Vector v e, Matrix m e) => MatrixVector m v e -- Defined at src/FPNLA/Matrix.hs:192:10 This makes type inference for inner bindings fragile; either use MonoLocalBinds, or simplify it using the instance " In the type signature: asColumn_vm :: MatrixVector m v e => v e -> m e | 207 | asColumn_vm :: MatrixVector m v e => v e -> m e | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [3 of 6] Compiling FPNLA.Operations.Parameters ( src/FPNLA/Operations/Parameters.hs, nothing ) src/FPNLA/Operations/Parameters.hs:62:27: warning: [GHC-39567] [-Wstar-is-type] Using * (or its Unicode variant) to mean Data.Kind.Type relies on the StarIsType extension, which will become deprecated in the future. Suggested fix: Use Type from Data.Kind instead. | 62 | type family StratCtx s :: * | ^ src/FPNLA/Operations/Parameters.hs:66:19: warning: [GHC-39567] [-Wstar-is-type] Using * (or its Unicode variant) to mean Data.Kind.Type relies on the StarIsType extension, which will become deprecated in the future. Suggested fix: Use Type from Data.Kind instead. | 66 | data ResM s (v :: * -> *) m e = ResM { unResM :: m e } deriving (Show) | ^ src/FPNLA/Operations/Parameters.hs:66:24: warning: [GHC-39567] [-Wstar-is-type] Using * (or its Unicode variant) to mean Data.Kind.Type relies on the StarIsType extension, which will become deprecated in the future. Suggested fix: Use Type from Data.Kind instead. | 66 | data ResM s (v :: * -> *) m e = ResM { unResM :: m e } deriving (Show) | ^ [4 of 6] Compiling FPNLA.Operations.LAPACK ( src/FPNLA/Operations/LAPACK.hs, nothing ) [5 of 6] Compiling FPNLA.Operations.BLAS ( src/FPNLA/Operations/BLAS.hs, nothing ) [6 of 6] Compiling FPNLA.Matrix.Utils ( src/FPNLA/Matrix/Utils.hs, nothing ) Haddock coverage: 100% ( 14 / 14) in 'FPNLA.Matrix' Warning: 'ResS' is ambiguous. It is defined * at src/FPNLA/Operations/Parameters.hs:70:17 * at src/FPNLA/Operations/Parameters.hs:70: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/FPNLA/Operations/Parameters.hs:70:1 Warning: 'ResV' is ambiguous. It is defined * at src/FPNLA/Operations/Parameters.hs:68:19 * at src/FPNLA/Operations/Parameters.hs:68: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/FPNLA/Operations/Parameters.hs:68:1 Warning: 'ResM' is ambiguous. It is defined * at src/FPNLA/Operations/Parameters.hs:66:33 * at src/FPNLA/Operations/Parameters.hs:66: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/FPNLA/Operations/Parameters.hs:66:1 96% ( 31 / 32) in 'FPNLA.Operations.Parameters' Missing documentation for: Module header 100% ( 2 / 2) in 'FPNLA.Operations.LAPACK' 100% ( 12 / 12) in 'FPNLA.Operations.BLAS' 100% ( 2 / 2) in 'FPNLA.Matrix.Utils' Documentation created: dist/doc/html/fpnla/, dist/doc/html/fpnla/fpnla.txt Installing library in /var/lib/hackage-doc-builder/build-cache/tmp-install/lib/x86_64-linux-ghc-9.8.4/fpnla-0.1.1-6BreIoEc7Lc3p6EbgDSW6w Completed fpnla-0.1.1