Resolving dependencies... Configuring base-orphans-0.9.3... Preprocessing library for base-orphans-0.9.3.. Building library for base-orphans-0.9.3.. [1 of 2] Compiling Data.Orphans.Prelude ( src/Data/Orphans/Prelude.hs, dist/build/Data/Orphans/Prelude.o, dist/build/Data/Orphans/Prelude.dyn_o ) [2 of 2] Compiling Data.Orphans ( src/Data/Orphans.hs, dist/build/Data/Orphans.o, dist/build/Data/Orphans.dyn_o ) Preprocessing library for base-orphans-0.9.3.. Running Haddock on library for base-orphans-0.9.3.. Warning: --source-* options are ignored when --hyperlinked-source is enabled. [1 of 2] Compiling Data.Orphans.Prelude ( src/Data/Orphans/Prelude.hs, nothing ) [2 of 2] Compiling Data.Orphans ( src/Data/Orphans.hs, nothing ) Haddock coverage: 100% ( 1 / 1) in 'Data.Orphans' Documentation created: dist/doc/html/base-orphans/, dist/doc/html/base-orphans/base-orphans.txt Installing library in /var/lib/hackage-doc-builder/build-cache/tmp-install/lib/x86_64-linux-ghc-9.8.4/base-orphans-0.9.3-FO1MOLOK3e83158jMAOVc9 Completed base-orphans-0.9.3 Configuring tagged-0.8.9... Preprocessing library for tagged-0.8.9.. Building library for tagged-0.8.9.. [1 of 2] Compiling Data.Proxy.TH ( src/Data/Proxy/TH.hs, dist/build/Data/Proxy/TH.o, dist/build/Data/Proxy/TH.dyn_o ) [2 of 2] Compiling Data.Tagged ( src/Data/Tagged.hs, dist/build/Data/Tagged.o, dist/build/Data/Tagged.dyn_o ) Preprocessing library for tagged-0.8.9.. Running Haddock on library for tagged-0.8.9.. Warning: --source-* options are ignored when --hyperlinked-source is enabled. [1 of 2] Compiling Data.Proxy.TH ( src/Data/Proxy/TH.hs, nothing ) [2 of 2] Compiling Data.Tagged ( src/Data/Tagged.hs, nothing ) Haddock coverage: Warning: 'Proxy' is ambiguous. It is defined * in Data.Proxy * in Data.Proxy 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 Data.Proxy 66% ( 2 / 3) in 'Data.Proxy.TH' Missing documentation for: Module header Warning: 'Tagged' is ambiguous. It is defined * at src/Data/Tagged.hs:82:22 * at src/Data/Tagged.hs:82: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/Data/Tagged.hs:82:1 Warning: 'Proxy' is ambiguous. It is defined * in Data.Proxy * in Data.Proxy 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 Data.Proxy 93% ( 14 / 15) in 'Data.Tagged' Missing documentation for: witness (src/Data/Tagged.hs:386) Warning: Data.Tagged: could not find link destinations for: - Data.Tagged.Rep_Tagged - Data.Tagged.Rep1_Tagged Documentation created: dist/doc/html/tagged/, dist/doc/html/tagged/tagged.txt Installing library in /var/lib/hackage-doc-builder/build-cache/tmp-install/lib/x86_64-linux-ghc-9.8.4/tagged-0.8.9-6aZuwRISGvIHng66Gvw0LY Completed tagged-0.8.9 Configuring distributive-0.6.2.1... Preprocessing library for distributive-0.6.2.1.. Building library for distributive-0.6.2.1.. [1 of 2] Compiling Data.Distributive ( src/Data/Distributive.hs, dist/build/Data/Distributive.o, dist/build/Data/Distributive.dyn_o ) src/Data/Distributive.hs:157:26: warning: [GHC-47082] [-Woperator-whitespace-ext-conflict] The prefix use of a $ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the $. | 157 | distribute a e = fmap ($e) a | ^ [2 of 2] Compiling Data.Distributive.Generic ( src/Data/Distributive/Generic.hs, dist/build/Data/Distributive/Generic.o, dist/build/Data/Distributive/Generic.dyn_o ) Preprocessing library for distributive-0.6.2.1.. Running Haddock on library for distributive-0.6.2.1.. Warning: --source-* options are ignored when --hyperlinked-source is enabled. [1 of 2] Compiling Data.Distributive ( src/Data/Distributive.hs, nothing ) src/Data/Distributive.hs:157:26: warning: [GHC-47082] [-Woperator-whitespace-ext-conflict] The prefix use of a $ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the $. | 157 | distribute a e = fmap ($e) a | ^ [2 of 2] Compiling Data.Distributive.Generic ( src/Data/Distributive/Generic.hs, nothing ) Haddock coverage: Warning: 'Representable' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'Identity' is ambiguous. It is defined * in Data.Functor.Identity * in Data.Functor.Identity 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 Data.Functor.Identity Warning: 'Compose' is ambiguous. It is defined * in Data.Functor.Compose * in Data.Functor.Compose 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 Data.Functor.Compose 100% ( 4 / 4) in 'Data.Distributive' 75% ( 3 / 4) in 'Data.Distributive.Generic' Missing documentation for: GDistributive (src/Data/Distributive/Generic.hs:51) Documentation created: dist/doc/html/distributive/, dist/doc/html/distributive/distributive.txt Installing library in /var/lib/hackage-doc-builder/build-cache/tmp-install/lib/x86_64-linux-ghc-9.8.4/distributive-0.6.2.1-LYGC3cC7tAvDF84yagGUZw Completed distributive-0.6.2.1 Configuring data-functor-logistic-0.0... Preprocessing library for data-functor-logistic-0.0.. Building library for data-functor-logistic-0.0.. [1 of 1] Compiling Data.Functor.Logistic ( Data/Functor/Logistic.hs, dist/build/Data/Functor/Logistic.o, dist/build/Data/Functor/Logistic.dyn_o ) Preprocessing library for data-functor-logistic-0.0.. Running Haddock on library for data-functor-logistic-0.0.. Warning: --source-* options are ignored when --hyperlinked-source is enabled. [1 of 1] Compiling Data.Functor.Logistic ( Data/Functor/Logistic.hs, nothing ) Haddock coverage: 0% ( 0 / 3) in 'Data.Functor.Logistic' Missing documentation for: Module header Logistic (Data/Functor/Logistic.hs:21) setters (Data/Functor/Logistic.hs:79) Documentation created: dist/doc/html/data-functor-logistic/, dist/doc/html/data-functor-logistic/data-functor-logistic.txt Installing library in /var/lib/hackage-doc-builder/build-cache/tmp-install/lib/x86_64-linux-ghc-9.8.4/data-functor-logistic-0.0-JrxVjs1mJPR9uLIhI2Mn2L Completed data-functor-logistic-0.0 Downloading rank2classes-1.5.5 Downloaded rank2classes-1.5.5 Configuring rank2classes-1.5.5... Preprocessing library for rank2classes-1.5.5.. Building library for rank2classes-1.5.5.. [1 of 2] Compiling Rank2 ( src/Rank2.hs, dist/build/Rank2.o, dist/build/Rank2.dyn_o ) src/Rank2.hs:37:1: warning: [GHC-66111] [-Wunused-imports] The import of Data.Semigroup is redundant except perhaps to import instances from Data.Semigroup To import instances alone, use: import Data.Semigroup() | 37 | import Data.Semigroup (Semigroup(..)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Rank2.hs:38:1: warning: [GHC-66111] [-Wunused-imports] The import of Data.Monoid is redundant except perhaps to import instances from Data.Monoid To import instances alone, use: import Data.Monoid() | 38 | import Data.Monoid (Monoid(..)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [2 of 2] Compiling Rank2.TH ( src/Rank2/TH.hs, dist/build/Rank2/TH.o, dist/build/Rank2/TH.dyn_o ) src/Rank2/TH.hs:20:29: warning: [GHC-38856] [-Wunused-imports] The import of liftA2 from module Control.Applicative is redundant | 20 | import Control.Applicative (liftA2, liftA3) | ^^^^^^ src/Rank2/TH.hs:131:8: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type TyVarBndr TH.BndrVis not matched: PlainTV _ _ KindedTV _ _ (ForallT _ _ _) KindedTV _ _ (ForallVisT _ _) KindedTV _ _ (AppKindT _ _) ... | 131 | let (KindedTV tyVar _ (AppT (AppT ArrowT _) resultKind)) = lastVar | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Rank2/TH.hs:155:1: warning: [GHC-62161] [-Wincomplete-patterns] Pattern match(es) are non-exhaustive In an equation for genAp: Patterns of type TypeQ, [Con] not matched: _ [] _ (_:_:_) | 155 | genAp instanceType [con] = do | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... src/Rank2/TH.hs:161:1: warning: [GHC-62161] [-Wincomplete-patterns] Pattern match(es) are non-exhaustive In an equation for genLiftA2: Patterns of type [Con] not matched: [] (_:_:_) | 161 | genLiftA2 [con] = TH.funD 'Rank2.liftA2 [genLiftA2Clause False con] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Rank2/TH.hs:164:1: warning: [GHC-62161] [-Wincomplete-patterns] Pattern match(es) are non-exhaustive In an equation for genLiftA3: Patterns of type [Con] not matched: [] (_:_:_) | 164 | genLiftA3 [con] = TH.funD 'Rank2.liftA3 [genLiftA3Clause False con] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Rank2/TH.hs:195:1: warning: [GHC-62161] [-Wincomplete-patterns] Pattern match(es) are non-exhaustive In an equation for genCotraverse: Patterns of type [Con] not matched: [] (_:_:_) | 195 | genCotraverse [con] = do (constraints, clause) <- genCotraverseClause con | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... src/Rank2/TH.hs:199:1: warning: [GHC-62161] [-Wincomplete-patterns] Pattern match(es) are non-exhaustive In an equation for genCotraverseTraversable: Patterns of type [Con] not matched: [] (_:_:_) | 199 | genCotraverseTraversable [con] = do (constraints, clause) <- genCotraverseTraversableClause con | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... src/Rank2/TH.hs:203:1: warning: [GHC-62161] [-Wincomplete-patterns] Pattern match(es) are non-exhaustive In an equation for genDeliver: Patterns of type TypeQ, [Con] not matched: _ [] _ (_:_:_) | 203 | genDeliver instanceType [con] = do | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... src/Rank2/TH.hs:205:8: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type Type not matched: ForallT _ _ _ ForallVisT _ _ AppKindT _ _ SigT _ _ ... | 205 | let AppT _classType rt = it | ^^^^^^^^^^^^^^^^^^^^^^^ src/Rank2/TH.hs:224:1: warning: [GHC-62161] [-Wincomplete-patterns] Pattern match(es) are non-exhaustive In an equation for genFmapClause: Patterns of type Type, Con not matched: _ (InfixC _ _ _) _ (GadtC [] _ _) _ (GadtC (_:_:_) _ _) _ (GadtC [_] _ (ForallT _ _ _)) ... | 224 | genFmapClause _ (NormalC name fieldTypes) = do | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... src/Rank2/TH.hs:249:11: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type Type not matched: ForallT _ _ _ ForallVisT _ _ AppKindT _ _ SigT _ _ ... | 249 | let AppT _classType t = instanceType | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Rank2/TH.hs:254:11: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type Type not matched: ForallT _ _ _ ForallVisT _ _ AppKindT _ _ SigT _ _ ... | 254 | let AppT _classType t = instanceType | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Rank2/TH.hs:270:1: warning: [GHC-62161] [-Wincomplete-patterns] Pattern match(es) are non-exhaustive In an equation for genLiftA2Clause: Patterns of type Bool, Con not matched: _ (InfixC _ _ _) _ (GadtC [] _ _) _ (GadtC (_:_:_) _ _) _ (GadtC [_] _ (ForallT _ _ _)) ... | 270 | genLiftA2Clause unsafely (NormalC name fieldTypes) = do | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... src/Rank2/TH.hs:278:21: warning: [GHC-63397] [-Wname-shadowing] This binding for y shadows the existing binding bound at src/Rank2/TH.hs:273:4 | 278 | newField (x, y) (_, fieldType) = genLiftA2Field unsafely (varE f) fieldType (varE x) (varE y) id | ^ src/Rank2/TH.hs:314:1: warning: [GHC-62161] [-Wincomplete-patterns] Pattern match(es) are non-exhaustive In an equation for genLiftA3Clause: Patterns of type Bool, Con not matched: _ (InfixC _ _ _) _ (GadtC [] _ _) _ (GadtC (_:_:_) _ _) _ (GadtC [_] _ (ForallT _ _ _)) ... | 314 | genLiftA3Clause unsafely (NormalC name fieldTypes) = do | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... src/Rank2/TH.hs:324:21: warning: [GHC-63397] [-Wname-shadowing] This binding for y shadows the existing binding bound at src/Rank2/TH.hs:317:4 | 324 | newField (x, y, z) (_, fieldType) = genLiftA3Field unsafely (varE f) fieldType (varE x) (varE y) (varE z) id | ^ src/Rank2/TH.hs:324:24: warning: [GHC-63397] [-Wname-shadowing] This binding for z shadows the existing binding bound at src/Rank2/TH.hs:318:4 | 324 | newField (x, y, z) (_, fieldType) = genLiftA3Field unsafely (varE f) fieldType (varE x) (varE y) (varE z) id | ^ src/Rank2/TH.hs:365:1: warning: [GHC-62161] [-Wincomplete-patterns] Pattern match(es) are non-exhaustive In an equation for genApClause: Patterns of type Bool, Type, Con not matched: _ _ (InfixC _ _ _) _ _ (GadtC [] _ _) _ _ (GadtC (_:_:_) _ _) _ _ (GadtC [_] _ (ForallT _ _ _)) ... | 365 | genApClause unsafely _ (NormalC name fieldTypes) = do | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... src/Rank2/TH.hs:390:11: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type Type not matched: ForallT _ _ _ ForallVisT _ _ AppKindT _ _ SigT _ _ ... | 390 | let AppT _classType t = instanceType | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Rank2/TH.hs:395:11: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type Type not matched: ForallT _ _ _ ForallVisT _ _ AppKindT _ _ SigT _ _ ... | 395 | let AppT _classType t = instanceType | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Rank2/TH.hs:413:1: warning: [GHC-62161] [-Wincomplete-patterns] Pattern match(es) are non-exhaustive In an equation for genPureClause: Patterns of type Con not matched: InfixC _ _ _ ForallC _ _ _ GadtC _ _ _ RecGadtC _ _ _ | 413 | genPureClause (NormalC name fieldTypes) = do | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... src/Rank2/TH.hs:442:1: warning: [GHC-62161] [-Wincomplete-patterns] Pattern match(es) are non-exhaustive In an equation for genFoldMapClause: Patterns of type Type, Con not matched: _ (InfixC _ _ _) _ (GadtC [] _ _) _ (GadtC (_:_:_) _ _) _ (GadtC [_] _ (ForallT _ _ _)) ... | 442 | genFoldMapClause _ (NormalC name fieldTypes) = do | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... src/Rank2/TH.hs:468:11: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type Type not matched: ForallT _ _ _ ForallVisT _ _ AppKindT _ _ SigT _ _ ... | 468 | let AppT _classType t = instanceType | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Rank2/TH.hs:473:11: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type Type not matched: ForallT _ _ _ ForallVisT _ _ AppKindT _ _ SigT _ _ ... | 473 | let AppT _classType t = instanceType | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Rank2/TH.hs:490:1: warning: [GHC-62161] [-Wincomplete-patterns] Pattern match(es) are non-exhaustive In an equation for genTraverseClause: Patterns of type Type, Con not matched: _ (InfixC _ _ _) _ (GadtC [] _ _) _ (GadtC (_:_:_) _ _) _ (GadtC [_] _ (ForallT _ _ _)) ... | 490 | genTraverseClause _ (NormalC name []) = | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... src/Rank2/TH.hs:519:11: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type Type not matched: ForallT _ _ _ ForallVisT _ _ AppKindT _ _ SigT _ _ ... | 519 | let AppT _classType t = instanceType | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Rank2/TH.hs:524:11: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type Type not matched: ForallT _ _ _ ForallVisT _ _ AppKindT _ _ SigT _ _ ... | 524 | let AppT _classType t = instanceType | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Rank2/TH.hs:541:1: warning: [GHC-62161] [-Wincomplete-patterns] Pattern match(es) are non-exhaustive In an equation for genCotraverseClause: Patterns of type Con not matched: InfixC _ _ _ ForallC _ _ _ GadtC _ _ _ RecGadtC _ _ _ ... | 541 | genCotraverseClause (NormalC name []) = genCotraverseClause (RecC name []) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... src/Rank2/TH.hs:555:1: warning: [GHC-62161] [-Wincomplete-patterns] Pattern match(es) are non-exhaustive In an equation for genCotraverseTraversableClause: Patterns of type Con not matched: InfixC _ _ _ ForallC _ _ _ GadtC _ _ _ RecGadtC _ _ _ ... | 555 | genCotraverseTraversableClause (NormalC name []) = genCotraverseTraversableClause (RecC name []) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... src/Rank2/TH.hs:570:1: warning: [GHC-62161] [-Wincomplete-patterns] Pattern match(es) are non-exhaustive In an equation for genDeliverClause: Patterns of type TypeQ, Maybe Name, Con not matched: _ _ (InfixC _ _ _) _ _ (ForallC _ _ _) _ _ (GadtC _ _ _) _ _ (RecGadtC _ _ _) ... | 570 | genDeliverClause recType typeVar (NormalC name []) = genDeliverClause recType typeVar (RecC name []) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... src/Rank2/TH.hs:591:4: warning: [GHC-62161] [-Wincomplete-patterns] Pattern match(es) are non-exhaustive In a case alternative: Patterns of type Type not matched: ForallT _ _ _ ForallVisT _ _ AppKindT _ _ VarT _ ... | 591 | case fieldType of | ^^^^^^^^^^^^^^^^^... src/Rank2/TH.hs:609:4: warning: [GHC-62161] [-Wincomplete-patterns] Pattern match(es) are non-exhaustive In a case alternative: Patterns of type Type not matched: ForallT _ _ _ ForallVisT _ _ AppKindT _ _ VarT _ ... | 609 | case fieldType of | ^^^^^^^^^^^^^^^^^... Preprocessing library 'doctests' for rank2classes-1.5.5.. Building library 'doctests' for rank2classes-1.5.5.. [1 of 1] Compiling MyModule ( test/MyModule.lhs, dist/build/doctests/MyModule.o, dist/build/doctests/MyModule.dyn_o ) Preprocessing library for rank2classes-1.5.5.. Running Haddock on library for rank2classes-1.5.5.. Warning: --source-* options are ignored when --hyperlinked-source is enabled. [1 of 2] Compiling Rank2 ( src/Rank2.hs, /tmp/ghc2215384_0/ghc_4.o, /tmp/ghc2215384_0/ghc_4.dyn_o ) src/Rank2.hs:37:1: warning: [GHC-66111] [-Wunused-imports] The import of Data.Semigroup is redundant except perhaps to import instances from Data.Semigroup To import instances alone, use: import Data.Semigroup() | 37 | import Data.Semigroup (Semigroup(..)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Rank2.hs:38:1: warning: [GHC-66111] [-Wunused-imports] The import of Data.Monoid is redundant except perhaps to import instances from Data.Monoid To import instances alone, use: import Data.Monoid() | 38 | import Data.Monoid (Monoid(..)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [2 of 2] Compiling Rank2.TH ( src/Rank2/TH.hs, nothing ) src/Rank2/TH.hs:20:29: warning: [GHC-38856] [-Wunused-imports] The import of liftA2 from module Control.Applicative is redundant | 20 | import Control.Applicative (liftA2, liftA3) | ^^^^^^ src/Rank2/TH.hs:278:21: warning: [GHC-63397] [-Wname-shadowing] This binding for y shadows the existing binding bound at src/Rank2/TH.hs:273:4 | 278 | newField (x, y) (_, fieldType) = genLiftA2Field unsafely (varE f) fieldType (varE x) (varE y) id | ^ src/Rank2/TH.hs:324:21: warning: [GHC-63397] [-Wname-shadowing] This binding for y shadows the existing binding bound at src/Rank2/TH.hs:317:4 | 324 | newField (x, y, z) (_, fieldType) = genLiftA3Field unsafely (varE f) fieldType (varE x) (varE y) (varE z) id | ^ src/Rank2/TH.hs:324:24: warning: [GHC-63397] [-Wname-shadowing] This binding for z shadows the existing binding bound at src/Rank2/TH.hs:318:4 | 324 | newField (x, y, z) (_, fieldType) = genLiftA3Field unsafely (varE f) fieldType (varE x) (varE y) (varE z) id | ^ Haddock coverage: 89% ( 33 / 37) in 'Rank2' Missing documentation for: ~> (src/Rank2.hs:87) $ (src/Rank2.hs:89) liftA4 (src/Rank2.hs:111) liftA5 (src/Rank2.hs:114) 18% ( 2 / 11) in 'Rank2.TH' Missing documentation for: deriveAll (src/Rank2/TH.hs:37) deriveFunctor (src/Rank2/TH.hs:43) deriveApply (src/Rank2/TH.hs:50) deriveApplicative (src/Rank2/TH.hs:69) deriveFoldable (src/Rank2/TH.hs:76) deriveTraversable (src/Rank2/TH.hs:83) deriveDistributive (src/Rank2/TH.hs:90) deriveDistributiveTraversable (src/Rank2/TH.hs:97) deriveLogistic (src/Rank2/TH.hs:103) Warning: Rank2: could not find link destinations for: - Data.Functor.Sum.Rep_Sum - Data.Functor.Sum.Rep1_Sum - Data.Functor.Product.Rep_Product - Data.Functor.Product.Rep1_Product Documentation created: dist/doc/html/rank2classes/, dist/doc/html/rank2classes/rank2classes.txt Preprocessing library 'doctests' for rank2classes-1.5.5.. Running Haddock on library 'doctests' for rank2classes-1.5.5.. Warning: --source-* options are ignored when --hyperlinked-source is enabled. [1 of 1] Compiling MyModule ( test/MyModule.lhs, nothing ) Haddock coverage: Documentation created: dist/doc/html/rank2classes/, dist/doc/html/rank2classes/rank2classes.txt Installing library in /var/lib/hackage-doc-builder/build-cache/tmp-install/lib/x86_64-linux-ghc-9.8.4/rank2classes-1.5.5-HZCZqdjpiFFI2jVJc3DKFa Installing internal library doctests in /var/lib/hackage-doc-builder/build-cache/tmp-install/lib/x86_64-linux-ghc-9.8.4/rank2classes-1.5.5-HZCZqdjpiFFI2jVJc3DKFa Completed rank2classes-1.5.5