Resolving dependencies... Build profile: -w ghc-9.6.3 -O0 In order, the following will be built (use -v for more details): - comma-and-0.2.0.0 (first run) Configuring comma-and-0.2.0.0... Preprocessing library for comma-and-0.2.0.0.. Building library for comma-and-0.2.0.0.. [1 of 1] Compiling Text.Comma ( src/Text/Comma.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/comma-and-0.2.0.0/noopt/build/Text/Comma.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/comma-and-0.2.0.0/noopt/build/Text/Comma.dyn_o ) Preprocessing test suite 'and' for comma-and-0.2.0.0.. Building test suite 'and' for comma-and-0.2.0.0.. [1 of 2] Compiling Text.CommaSpec ( test/Text/CommaSpec.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/comma-and-0.2.0.0/noopt/build/and/and-tmp/Text/CommaSpec.o ) test/Text/CommaSpec.hs:11:7: warning: [GHC-18042] [-Wtype-defaults] " Defaulting the type variable a0 to type String in the following constraints (Monoid a0) arising from a use of comma at test/Text/CommaSpec.hs:11:7-11 (Show a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:11:16-25 (Eq a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:11:16-25 (Data.String.IsString a0) arising from a use of comma at test/Text/CommaSpec.hs:11:7-11 " In the first argument of shouldBe, namely comma [] In a stmt of a 'do' block: comma [] `shouldBe` "" In the second argument of ($), namely do comma [] `shouldBe` "" comma ["red"] `shouldBe` "red" comma ["red", "green"] `shouldBe` "red, and green" comma ["red", "green", ....] `shouldBe` "red, green, and blue" | 11 | comma [] `shouldBe` "" | ^^^^^ test/Text/CommaSpec.hs:12:7: warning: [GHC-18042] [-Wtype-defaults] " Defaulting the type variable a0 to type String in the following constraints (Monoid a0) arising from a use of comma at test/Text/CommaSpec.hs:12:7-11 (Show a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:12:21-30 (Eq a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:12:21-30 (Data.String.IsString a0) arising from a use of comma at test/Text/CommaSpec.hs:12:7-11 " In the first argument of shouldBe, namely comma ["red"] In a stmt of a 'do' block: comma ["red"] `shouldBe` "red" In the second argument of ($), namely do comma [] `shouldBe` "" comma ["red"] `shouldBe` "red" comma ["red", "green"] `shouldBe` "red, and green" comma ["red", "green", ....] `shouldBe` "red, green, and blue" | 12 | comma ["red"] `shouldBe` "red" | ^^^^^ test/Text/CommaSpec.hs:13:7: warning: [GHC-18042] [-Wtype-defaults] " Defaulting the type variable a0 to type String in the following constraints (Monoid a0) arising from a use of comma at test/Text/CommaSpec.hs:13:7-11 (Show a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:13:30-39 (Eq a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:13:30-39 (Data.String.IsString a0) arising from a use of comma at test/Text/CommaSpec.hs:13:7-11 " In the first argument of shouldBe, namely comma ["red", "green"] In a stmt of a 'do' block: comma ["red", "green"] `shouldBe` "red, and green" In the second argument of ($), namely do comma [] `shouldBe` "" comma ["red"] `shouldBe` "red" comma ["red", "green"] `shouldBe` "red, and green" comma ["red", "green", ....] `shouldBe` "red, green, and blue" | 13 | comma ["red", "green"] `shouldBe` "red, and green" | ^^^^^ test/Text/CommaSpec.hs:14:7: warning: [GHC-18042] [-Wtype-defaults] " Defaulting the type variable a0 to type String in the following constraints (Monoid a0) arising from a use of comma at test/Text/CommaSpec.hs:14:7-11 (Show a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:14:38-47 (Eq a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:14:38-47 (Data.String.IsString a0) arising from a use of comma at test/Text/CommaSpec.hs:14:7-11 " In the first argument of shouldBe, namely comma ["red", "green", "blue"] In a stmt of a 'do' block: comma ["red", "green", "blue"] `shouldBe` "red, green, and blue" In the second argument of ($), namely do comma [] `shouldBe` "" comma ["red"] `shouldBe` "red" comma ["red", "green"] `shouldBe` "red, and green" comma ["red", "green", ....] `shouldBe` "red, green, and blue" | 14 | comma ["red", "green", "blue"] `shouldBe` "red, green, and blue" | ^^^^^ test/Text/CommaSpec.hs:16:27: warning: [GHC-18042] [-Wtype-defaults] " Defaulting the type variable a0 to type String in the following constraints (Show a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:16:27-36 (Eq a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:16:27-36 (Data.String.IsString a0) arising from a use of commaEmpty at test/Text/CommaSpec.hs:16:7-16 (Semigroup a0) arising from a use of commaEmpty at test/Text/CommaSpec.hs:16:7-16 " In a stmt of a 'do' block: commaEmpty "and" [] `shouldBe` "and" In the second argument of ($), namely do commaEmpty "and" [] `shouldBe` "and" commaEmpty "and" ["red"] `shouldBe` "red" commaEmpty "and" ["red", "green"] `shouldBe` "red, and green" commaEmpty "and" ["red", "green", ....] `shouldBe` "red, green, and blue" In a stmt of a 'do' block: it "commaEmpty" $ do commaEmpty "and" [] `shouldBe` "and" commaEmpty "and" ["red"] `shouldBe` "red" commaEmpty "and" ["red", "green"] `shouldBe` "red, and green" commaEmpty "and" ["red", "green", ....] `shouldBe` "red, green, and blue" | 16 | commaEmpty "and" [] `shouldBe` "and" | ^^^^^^^^^^ test/Text/CommaSpec.hs:17:32: warning: [GHC-18042] [-Wtype-defaults] " Defaulting the type variable a0 to type String in the following constraints (Show a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:17:32-41 (Eq a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:17:32-41 (Data.String.IsString a0) arising from a use of commaEmpty at test/Text/CommaSpec.hs:17:7-16 (Semigroup a0) arising from a use of commaEmpty at test/Text/CommaSpec.hs:17:7-16 " In a stmt of a 'do' block: commaEmpty "and" ["red"] `shouldBe` "red" In the second argument of ($), namely do commaEmpty "and" [] `shouldBe` "and" commaEmpty "and" ["red"] `shouldBe` "red" commaEmpty "and" ["red", "green"] `shouldBe` "red, and green" commaEmpty "and" ["red", "green", ....] `shouldBe` "red, green, and blue" In a stmt of a 'do' block: it "commaEmpty" $ do commaEmpty "and" [] `shouldBe` "and" commaEmpty "and" ["red"] `shouldBe` "red" commaEmpty "and" ["red", "green"] `shouldBe` "red, and green" commaEmpty "and" ["red", "green", ....] `shouldBe` "red, green, and blue" | 17 | commaEmpty "and" ["red"] `shouldBe` "red" | ^^^^^^^^^^ test/Text/CommaSpec.hs:18:41: warning: [GHC-18042] [-Wtype-defaults] " Defaulting the type variable a0 to type String in the following constraints (Show a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:18:41-50 (Eq a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:18:41-50 (Data.String.IsString a0) arising from a use of commaEmpty at test/Text/CommaSpec.hs:18:7-16 (Semigroup a0) arising from a use of commaEmpty at test/Text/CommaSpec.hs:18:7-16 " In a stmt of a 'do' block: commaEmpty "and" ["red", "green"] `shouldBe` "red, and green" In the second argument of ($), namely do commaEmpty "and" [] `shouldBe` "and" commaEmpty "and" ["red"] `shouldBe` "red" commaEmpty "and" ["red", "green"] `shouldBe` "red, and green" commaEmpty "and" ["red", "green", ....] `shouldBe` "red, green, and blue" In a stmt of a 'do' block: it "commaEmpty" $ do commaEmpty "and" [] `shouldBe` "and" commaEmpty "and" ["red"] `shouldBe` "red" commaEmpty "and" ["red", "green"] `shouldBe` "red, and green" commaEmpty "and" ["red", "green", ....] `shouldBe` "red, green, and blue" | 18 | commaEmpty "and" ["red", "green"] `shouldBe` "red, and green" | ^^^^^^^^^^ test/Text/CommaSpec.hs:19:49: warning: [GHC-18042] [-Wtype-defaults] " Defaulting the type variable a0 to type String in the following constraints (Show a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:19:49-58 (Eq a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:19:49-58 (Data.String.IsString a0) arising from a use of commaEmpty at test/Text/CommaSpec.hs:19:7-16 (Semigroup a0) arising from a use of commaEmpty at test/Text/CommaSpec.hs:19:7-16 " In a stmt of a 'do' block: commaEmpty "and" ["red", "green", "blue"] `shouldBe` "red, green, and blue" In the second argument of ($), namely do commaEmpty "and" [] `shouldBe` "and" commaEmpty "and" ["red"] `shouldBe` "red" commaEmpty "and" ["red", "green"] `shouldBe` "red, and green" commaEmpty "and" ["red", "green", ....] `shouldBe` "red, green, and blue" In a stmt of a 'do' block: it "commaEmpty" $ do commaEmpty "and" [] `shouldBe` "and" commaEmpty "and" ["red"] `shouldBe` "red" commaEmpty "and" ["red", "green"] `shouldBe` "red, and green" commaEmpty "and" ["red", "green", ....] `shouldBe` "red, green, and blue" | 19 | commaEmpty "and" ["red", "green", "blue"] `shouldBe` "red, green, and blue" | ^^^^^^^^^^ test/Text/CommaSpec.hs:21:7: warning: [GHC-18042] [-Wtype-defaults] " Defaulting the type variable a0 to type String in the following constraints (Monoid a0) arising from a use of noComma at test/Text/CommaSpec.hs:21:7-13 (Show a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:21:18-27 (Eq a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:21:18-27 (Data.String.IsString a0) arising from a use of noComma at test/Text/CommaSpec.hs:21:7-13 " In the first argument of shouldBe, namely noComma [] In a stmt of a 'do' block: noComma [] `shouldBe` "" In the second argument of ($), namely do noComma [] `shouldBe` "" noComma ["red"] `shouldBe` "red" noComma ["red", "green"] `shouldBe` "red and green" noComma ["red", "green", ....] `shouldBe` "red, green and blue" | 21 | noComma [] `shouldBe` "" | ^^^^^^^ test/Text/CommaSpec.hs:22:7: warning: [GHC-18042] [-Wtype-defaults] " Defaulting the type variable a0 to type String in the following constraints (Monoid a0) arising from a use of noComma at test/Text/CommaSpec.hs:22:7-13 (Show a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:22:23-32 (Eq a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:22:23-32 (Data.String.IsString a0) arising from a use of noComma at test/Text/CommaSpec.hs:22:7-13 " In the first argument of shouldBe, namely noComma ["red"] In a stmt of a 'do' block: noComma ["red"] `shouldBe` "red" In the second argument of ($), namely do noComma [] `shouldBe` "" noComma ["red"] `shouldBe` "red" noComma ["red", "green"] `shouldBe` "red and green" noComma ["red", "green", ....] `shouldBe` "red, green and blue" | 22 | noComma ["red"] `shouldBe` "red" | ^^^^^^^ test/Text/CommaSpec.hs:23:7: warning: [GHC-18042] [-Wtype-defaults] " Defaulting the type variable a0 to type String in the following constraints (Monoid a0) arising from a use of noComma at test/Text/CommaSpec.hs:23:7-13 (Show a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:23:32-41 (Eq a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:23:32-41 (Data.String.IsString a0) arising from a use of noComma at test/Text/CommaSpec.hs:23:7-13 " In the first argument of shouldBe, namely noComma ["red", "green"] In a stmt of a 'do' block: noComma ["red", "green"] `shouldBe` "red and green" In the second argument of ($), namely do noComma [] `shouldBe` "" noComma ["red"] `shouldBe` "red" noComma ["red", "green"] `shouldBe` "red and green" noComma ["red", "green", ....] `shouldBe` "red, green and blue" | 23 | noComma ["red", "green"] `shouldBe` "red and green" | ^^^^^^^ test/Text/CommaSpec.hs:24:7: warning: [GHC-18042] [-Wtype-defaults] " Defaulting the type variable a0 to type String in the following constraints (Monoid a0) arising from a use of noComma at test/Text/CommaSpec.hs:24:7-13 (Show a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:24:40-49 (Eq a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:24:40-49 (Data.String.IsString a0) arising from a use of noComma at test/Text/CommaSpec.hs:24:7-13 " In the first argument of shouldBe, namely noComma ["red", "green", "blue"] In a stmt of a 'do' block: noComma ["red", "green", "blue"] `shouldBe` "red, green and blue" In the second argument of ($), namely do noComma [] `shouldBe` "" noComma ["red"] `shouldBe` "red" noComma ["red", "green"] `shouldBe` "red and green" noComma ["red", "green", ....] `shouldBe` "red, green and blue" | 24 | noComma ["red", "green", "blue"] `shouldBe` "red, green and blue" | ^^^^^^^ test/Text/CommaSpec.hs:26:29: warning: [GHC-18042] [-Wtype-defaults] " Defaulting the type variable a0 to type String in the following constraints (Show a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:26:29-38 (Eq a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:26:29-38 (Data.String.IsString a0) arising from a use of noCommaEmpty at test/Text/CommaSpec.hs:26:7-18 (Semigroup a0) arising from a use of noCommaEmpty at test/Text/CommaSpec.hs:26:7-18 " In a stmt of a 'do' block: noCommaEmpty "and" [] `shouldBe` "and" In the second argument of ($), namely do noCommaEmpty "and" [] `shouldBe` "and" noCommaEmpty "and" ["red"] `shouldBe` "red" noCommaEmpty "and" ["red", "green"] `shouldBe` "red and green" noCommaEmpty "and" ["red", "green", ....] `shouldBe` "red, green and blue" In a stmt of a 'do' block: it "noCommaEmpty" $ do noCommaEmpty "and" [] `shouldBe` "and" noCommaEmpty "and" ["red"] `shouldBe` "red" noCommaEmpty "and" ["red", "green"] `shouldBe` "red and green" noCommaEmpty "and" ["red", "green", ....] `shouldBe` "red, green and blue" | 26 | noCommaEmpty "and" [] `shouldBe` "and" | ^^^^^^^^^^ test/Text/CommaSpec.hs:27:34: warning: [GHC-18042] [-Wtype-defaults] " Defaulting the type variable a0 to type String in the following constraints (Show a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:27:34-43 (Eq a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:27:34-43 (Data.String.IsString a0) arising from a use of noCommaEmpty at test/Text/CommaSpec.hs:27:7-18 (Semigroup a0) arising from a use of noCommaEmpty at test/Text/CommaSpec.hs:27:7-18 " In a stmt of a 'do' block: noCommaEmpty "and" ["red"] `shouldBe` "red" In the second argument of ($), namely do noCommaEmpty "and" [] `shouldBe` "and" noCommaEmpty "and" ["red"] `shouldBe` "red" noCommaEmpty "and" ["red", "green"] `shouldBe` "red and green" noCommaEmpty "and" ["red", "green", ....] `shouldBe` "red, green and blue" In a stmt of a 'do' block: it "noCommaEmpty" $ do noCommaEmpty "and" [] `shouldBe` "and" noCommaEmpty "and" ["red"] `shouldBe` "red" noCommaEmpty "and" ["red", "green"] `shouldBe` "red and green" noCommaEmpty "and" ["red", "green", ....] `shouldBe` "red, green and blue" | 27 | noCommaEmpty "and" ["red"] `shouldBe` "red" | ^^^^^^^^^^ test/Text/CommaSpec.hs:28:43: warning: [GHC-18042] [-Wtype-defaults] " Defaulting the type variable a0 to type String in the following constraints (Show a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:28:43-52 (Eq a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:28:43-52 (Data.String.IsString a0) arising from a use of noCommaEmpty at test/Text/CommaSpec.hs:28:7-18 (Semigroup a0) arising from a use of noCommaEmpty at test/Text/CommaSpec.hs:28:7-18 " In a stmt of a 'do' block: noCommaEmpty "and" ["red", "green"] `shouldBe` "red and green" In the second argument of ($), namely do noCommaEmpty "and" [] `shouldBe` "and" noCommaEmpty "and" ["red"] `shouldBe` "red" noCommaEmpty "and" ["red", "green"] `shouldBe` "red and green" noCommaEmpty "and" ["red", "green", ....] `shouldBe` "red, green and blue" In a stmt of a 'do' block: it "noCommaEmpty" $ do noCommaEmpty "and" [] `shouldBe` "and" noCommaEmpty "and" ["red"] `shouldBe` "red" noCommaEmpty "and" ["red", "green"] `shouldBe` "red and green" noCommaEmpty "and" ["red", "green", ....] `shouldBe` "red, green and blue" | 28 | noCommaEmpty "and" ["red", "green"] `shouldBe` "red and green" | ^^^^^^^^^^ test/Text/CommaSpec.hs:29:51: warning: [GHC-18042] [-Wtype-defaults] " Defaulting the type variable a0 to type String in the following constraints (Show a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:29:51-60 (Eq a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:29:51-60 (Data.String.IsString a0) arising from a use of noCommaEmpty at test/Text/CommaSpec.hs:29:7-18 (Semigroup a0) arising from a use of noCommaEmpty at test/Text/CommaSpec.hs:29:7-18 " In a stmt of a 'do' block: noCommaEmpty "and" ["red", "green", "blue"] `shouldBe` "red, green and blue" In the second argument of ($), namely do noCommaEmpty "and" [] `shouldBe` "and" noCommaEmpty "and" ["red"] `shouldBe` "red" noCommaEmpty "and" ["red", "green"] `shouldBe` "red and green" noCommaEmpty "and" ["red", "green", ....] `shouldBe` "red, green and blue" In a stmt of a 'do' block: it "noCommaEmpty" $ do noCommaEmpty "and" [] `shouldBe` "and" noCommaEmpty "and" ["red"] `shouldBe` "red" noCommaEmpty "and" ["red", "green"] `shouldBe` "red and green" noCommaEmpty "and" ["red", "green", ....] `shouldBe` "red, green and blue" | 29 | noCommaEmpty "and" ["red", "green", "blue"] `shouldBe` "red, green and blue" | ^^^^^^^^^^ test/Text/CommaSpec.hs:31:7: warning: [GHC-18042] [-Wtype-defaults] " Defaulting the type variable a0 to type String in the following constraints (Monoid a0) arising from a use of commaAs at test/Text/CommaSpec.hs:31:7-13 (Show a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:31:30-39 (Eq a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:31:30-39 (Data.String.IsString a0) arising from a use of commaAs at test/Text/CommaSpec.hs:31:7-13 " In the first argument of shouldBe, namely commaAs OxfordComma [] In a stmt of a 'do' block: commaAs OxfordComma [] `shouldBe` "" In the second argument of ($), namely do commaAs OxfordComma [] `shouldBe` "" commaAs OxfordComma ["red"] `shouldBe` "red" commaAs OxfordComma ["red", "green"] `shouldBe` "red, and green" commaAs OxfordComma ["red", "green", ....] `shouldBe` "red, green, and blue" .... | 31 | commaAs OxfordComma [] `shouldBe` "" | ^^^^^^^ test/Text/CommaSpec.hs:32:7: warning: [GHC-18042] [-Wtype-defaults] " Defaulting the type variable a0 to type String in the following constraints (Monoid a0) arising from a use of commaAs at test/Text/CommaSpec.hs:32:7-13 (Show a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:32:35-44 (Eq a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:32:35-44 (Data.String.IsString a0) arising from a use of commaAs at test/Text/CommaSpec.hs:32:7-13 " In the first argument of shouldBe, namely commaAs OxfordComma ["red"] In a stmt of a 'do' block: commaAs OxfordComma ["red"] `shouldBe` "red" In the second argument of ($), namely do commaAs OxfordComma [] `shouldBe` "" commaAs OxfordComma ["red"] `shouldBe` "red" commaAs OxfordComma ["red", "green"] `shouldBe` "red, and green" commaAs OxfordComma ["red", "green", ....] `shouldBe` "red, green, and blue" .... | 32 | commaAs OxfordComma ["red"] `shouldBe` "red" | ^^^^^^^ test/Text/CommaSpec.hs:33:7: warning: [GHC-18042] [-Wtype-defaults] " Defaulting the type variable a0 to type String in the following constraints (Monoid a0) arising from a use of commaAs at test/Text/CommaSpec.hs:33:7-13 (Show a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:33:44-53 (Eq a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:33:44-53 (Data.String.IsString a0) arising from a use of commaAs at test/Text/CommaSpec.hs:33:7-13 " In the first argument of shouldBe, namely commaAs OxfordComma ["red", "green"] In a stmt of a 'do' block: commaAs OxfordComma ["red", "green"] `shouldBe` "red, and green" In the second argument of ($), namely do commaAs OxfordComma [] `shouldBe` "" commaAs OxfordComma ["red"] `shouldBe` "red" commaAs OxfordComma ["red", "green"] `shouldBe` "red, and green" commaAs OxfordComma ["red", "green", ....] `shouldBe` "red, green, and blue" .... | 33 | commaAs OxfordComma ["red", "green"] `shouldBe` "red, and green" | ^^^^^^^ test/Text/CommaSpec.hs:34:7: warning: [GHC-18042] [-Wtype-defaults] " Defaulting the type variable a0 to type String in the following constraints (Monoid a0) arising from a use of commaAs at test/Text/CommaSpec.hs:34:7-13 (Show a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:34:52-61 (Eq a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:34:52-61 (Data.String.IsString a0) arising from a use of commaAs at test/Text/CommaSpec.hs:34:7-13 " In the first argument of shouldBe, namely commaAs OxfordComma ["red", "green", "blue"] In a stmt of a 'do' block: commaAs OxfordComma ["red", "green", "blue"] `shouldBe` "red, green, and blue" In the second argument of ($), namely do commaAs OxfordComma [] `shouldBe` "" commaAs OxfordComma ["red"] `shouldBe` "red" commaAs OxfordComma ["red", "green"] `shouldBe` "red, and green" commaAs OxfordComma ["red", "green", ....] `shouldBe` "red, green, and blue" .... | 34 | commaAs OxfordComma ["red", "green", "blue"] `shouldBe` "red, green, and blue" | ^^^^^^^ test/Text/CommaSpec.hs:35:7: warning: [GHC-18042] [-Wtype-defaults] " Defaulting the type variable a0 to type String in the following constraints (Monoid a0) arising from a use of commaAs at test/Text/CommaSpec.hs:35:7-13 (Show a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:35:26-35 (Eq a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:35:26-35 (Data.String.IsString a0) arising from a use of commaAs at test/Text/CommaSpec.hs:35:7-13 " In the first argument of shouldBe, namely commaAs NoComma [] In a stmt of a 'do' block: commaAs NoComma [] `shouldBe` "" In the second argument of ($), namely do commaAs OxfordComma [] `shouldBe` "" commaAs OxfordComma ["red"] `shouldBe` "red" commaAs OxfordComma ["red", "green"] `shouldBe` "red, and green" commaAs OxfordComma ["red", "green", ....] `shouldBe` "red, green, and blue" .... | 35 | commaAs NoComma [] `shouldBe` "" | ^^^^^^^ test/Text/CommaSpec.hs:36:7: warning: [GHC-18042] [-Wtype-defaults] " Defaulting the type variable a0 to type String in the following constraints (Monoid a0) arising from a use of commaAs at test/Text/CommaSpec.hs:36:7-13 (Show a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:36:31-40 (Eq a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:36:31-40 (Data.String.IsString a0) arising from a use of commaAs at test/Text/CommaSpec.hs:36:7-13 " In the first argument of shouldBe, namely commaAs NoComma ["red"] In a stmt of a 'do' block: commaAs NoComma ["red"] `shouldBe` "red" In the second argument of ($), namely do commaAs OxfordComma [] `shouldBe` "" commaAs OxfordComma ["red"] `shouldBe` "red" commaAs OxfordComma ["red", "green"] `shouldBe` "red, and green" commaAs OxfordComma ["red", "green", ....] `shouldBe` "red, green, and blue" .... | 36 | commaAs NoComma ["red"] `shouldBe` "red" | ^^^^^^^ test/Text/CommaSpec.hs:37:7: warning: [GHC-18042] [-Wtype-defaults] " Defaulting the type variable a0 to type String in the following constraints (Monoid a0) arising from a use of commaAs at test/Text/CommaSpec.hs:37:7-13 (Show a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:37:40-49 (Eq a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:37:40-49 (Data.String.IsString a0) arising from a use of commaAs at test/Text/CommaSpec.hs:37:7-13 " In the first argument of shouldBe, namely commaAs NoComma ["red", "green"] In a stmt of a 'do' block: commaAs NoComma ["red", "green"] `shouldBe` "red and green" In the second argument of ($), namely do commaAs OxfordComma [] `shouldBe` "" commaAs OxfordComma ["red"] `shouldBe` "red" commaAs OxfordComma ["red", "green"] `shouldBe` "red, and green" commaAs OxfordComma ["red", "green", ....] `shouldBe` "red, green, and blue" .... | 37 | commaAs NoComma ["red", "green"] `shouldBe` "red and green" | ^^^^^^^ test/Text/CommaSpec.hs:38:7: warning: [GHC-18042] [-Wtype-defaults] " Defaulting the type variable a0 to type String in the following constraints (Monoid a0) arising from a use of commaAs at test/Text/CommaSpec.hs:38:7-13 (Show a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:38:48-57 (Eq a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:38:48-57 (Data.String.IsString a0) arising from a use of commaAs at test/Text/CommaSpec.hs:38:7-13 " In the first argument of shouldBe, namely commaAs NoComma ["red", "green", "blue"] In a stmt of a 'do' block: commaAs NoComma ["red", "green", "blue"] `shouldBe` "red, green and blue" In the second argument of ($), namely do commaAs OxfordComma [] `shouldBe` "" commaAs OxfordComma ["red"] `shouldBe` "red" commaAs OxfordComma ["red", "green"] `shouldBe` "red, and green" commaAs OxfordComma ["red", "green", ....] `shouldBe` "red, green, and blue" .... | 38 | commaAs NoComma ["red", "green", "blue"] `shouldBe` "red, green and blue" | ^^^^^^^ test/Text/CommaSpec.hs:40:41: warning: [GHC-18042] [-Wtype-defaults] " Defaulting the type variable a0 to type String in the following constraints (Show a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:40:41-50 (Eq a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:40:41-50 (Data.String.IsString a0) arising from a use of commaEmptyAs at test/Text/CommaSpec.hs:40:7-18 (Semigroup a0) arising from a use of commaEmptyAs at test/Text/CommaSpec.hs:40:7-18 " In a stmt of a 'do' block: commaEmptyAs "and" OxfordComma [] `shouldBe` "and" In the second argument of ($), namely do commaEmptyAs "and" OxfordComma [] `shouldBe` "and" commaEmptyAs "and" OxfordComma ["red"] `shouldBe` "red" commaEmptyAs "and" OxfordComma ["red", "green"] `shouldBe` "red, and green" commaEmptyAs "and" OxfordComma ["red", "green", ....] `shouldBe` "red, green, and blue" .... In a stmt of a 'do' block: it "commaEmptyAs" $ do commaEmptyAs "and" OxfordComma [] `shouldBe` "and" commaEmptyAs "and" OxfordComma ["red"] `shouldBe` "red" commaEmptyAs "and" OxfordComma ["red", "green"] `shouldBe` "red, and green" commaEmptyAs "and" OxfordComma ["red", "green", ....] `shouldBe` "red, green, and blue" .... | 40 | commaEmptyAs "and" OxfordComma [] `shouldBe` "and" | ^^^^^^^^^^ test/Text/CommaSpec.hs:41:46: warning: [GHC-18042] [-Wtype-defaults] " Defaulting the type variable a0 to type String in the following constraints (Show a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:41:46-55 (Eq a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:41:46-55 (Data.String.IsString a0) arising from a use of commaEmptyAs at test/Text/CommaSpec.hs:41:7-18 (Semigroup a0) arising from a use of commaEmptyAs at test/Text/CommaSpec.hs:41:7-18 " In a stmt of a 'do' block: commaEmptyAs "and" OxfordComma ["red"] `shouldBe` "red" In the second argument of ($), namely do commaEmptyAs "and" OxfordComma [] `shouldBe` "and" commaEmptyAs "and" OxfordComma ["red"] `shouldBe` "red" commaEmptyAs "and" OxfordComma ["red", "green"] `shouldBe` "red, and green" commaEmptyAs "and" OxfordComma ["red", "green", ....] `shouldBe` "red, green, and blue" .... In a stmt of a 'do' block: it "commaEmptyAs" $ do commaEmptyAs "and" OxfordComma [] `shouldBe` "and" commaEmptyAs "and" OxfordComma ["red"] `shouldBe` "red" commaEmptyAs "and" OxfordComma ["red", "green"] `shouldBe` "red, and green" commaEmptyAs "and" OxfordComma ["red", "green", ....] `shouldBe` "red, green, and blue" .... | 41 | commaEmptyAs "and" OxfordComma ["red"] `shouldBe` "red" | ^^^^^^^^^^ test/Text/CommaSpec.hs:42:55: warning: [GHC-18042] [-Wtype-defaults] " Defaulting the type variable a0 to type String in the following constraints (Show a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:42:55-64 (Eq a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:42:55-64 (Data.String.IsString a0) arising from a use of commaEmptyAs at test/Text/CommaSpec.hs:42:7-18 (Semigroup a0) arising from a use of commaEmptyAs at test/Text/CommaSpec.hs:42:7-18 " In a stmt of a 'do' block: commaEmptyAs "and" OxfordComma ["red", "green"] `shouldBe` "red, and green" In the second argument of ($), namely do commaEmptyAs "and" OxfordComma [] `shouldBe` "and" commaEmptyAs "and" OxfordComma ["red"] `shouldBe` "red" commaEmptyAs "and" OxfordComma ["red", "green"] `shouldBe` "red, and green" commaEmptyAs "and" OxfordComma ["red", "green", ....] `shouldBe` "red, green, and blue" .... In a stmt of a 'do' block: it "commaEmptyAs" $ do commaEmptyAs "and" OxfordComma [] `shouldBe` "and" commaEmptyAs "and" OxfordComma ["red"] `shouldBe` "red" commaEmptyAs "and" OxfordComma ["red", "green"] `shouldBe` "red, and green" commaEmptyAs "and" OxfordComma ["red", "green", ....] `shouldBe` "red, green, and blue" .... | 42 | commaEmptyAs "and" OxfordComma ["red", "green"] `shouldBe` "red, and green" | ^^^^^^^^^^ test/Text/CommaSpec.hs:43:63: warning: [GHC-18042] [-Wtype-defaults] " Defaulting the type variable a0 to type String in the following constraints (Show a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:43:63-72 (Eq a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:43:63-72 (Data.String.IsString a0) arising from a use of commaEmptyAs at test/Text/CommaSpec.hs:43:7-18 (Semigroup a0) arising from a use of commaEmptyAs at test/Text/CommaSpec.hs:43:7-18 " In a stmt of a 'do' block: commaEmptyAs "and" OxfordComma ["red", "green", "blue"] `shouldBe` "red, green, and blue" In the second argument of ($), namely do commaEmptyAs "and" OxfordComma [] `shouldBe` "and" commaEmptyAs "and" OxfordComma ["red"] `shouldBe` "red" commaEmptyAs "and" OxfordComma ["red", "green"] `shouldBe` "red, and green" commaEmptyAs "and" OxfordComma ["red", "green", ....] `shouldBe` "red, green, and blue" .... In a stmt of a 'do' block: it "commaEmptyAs" $ do commaEmptyAs "and" OxfordComma [] `shouldBe` "and" commaEmptyAs "and" OxfordComma ["red"] `shouldBe` "red" commaEmptyAs "and" OxfordComma ["red", "green"] `shouldBe` "red, and green" commaEmptyAs "and" OxfordComma ["red", "green", ....] `shouldBe` "red, green, and blue" .... | 43 | commaEmptyAs "and" OxfordComma ["red", "green", "blue"] `shouldBe` "red, green, and blue" | ^^^^^^^^^^ test/Text/CommaSpec.hs:44:37: warning: [GHC-18042] [-Wtype-defaults] " Defaulting the type variable a0 to type String in the following constraints (Show a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:44:37-46 (Eq a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:44:37-46 (Data.String.IsString a0) arising from a use of commaEmptyAs at test/Text/CommaSpec.hs:44:7-18 (Semigroup a0) arising from a use of commaEmptyAs at test/Text/CommaSpec.hs:44:7-18 " In a stmt of a 'do' block: commaEmptyAs "and" NoComma [] `shouldBe` "and" In the second argument of ($), namely do commaEmptyAs "and" OxfordComma [] `shouldBe` "and" commaEmptyAs "and" OxfordComma ["red"] `shouldBe` "red" commaEmptyAs "and" OxfordComma ["red", "green"] `shouldBe` "red, and green" commaEmptyAs "and" OxfordComma ["red", "green", ....] `shouldBe` "red, green, and blue" .... In a stmt of a 'do' block: it "commaEmptyAs" $ do commaEmptyAs "and" OxfordComma [] `shouldBe` "and" commaEmptyAs "and" OxfordComma ["red"] `shouldBe` "red" commaEmptyAs "and" OxfordComma ["red", "green"] `shouldBe` "red, and green" commaEmptyAs "and" OxfordComma ["red", "green", ....] `shouldBe` "red, green, and blue" .... | 44 | commaEmptyAs "and" NoComma [] `shouldBe` "and" | ^^^^^^^^^^ test/Text/CommaSpec.hs:45:42: warning: [GHC-18042] [-Wtype-defaults] " Defaulting the type variable a0 to type String in the following constraints (Show a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:45:42-51 (Eq a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:45:42-51 (Data.String.IsString a0) arising from a use of commaEmptyAs at test/Text/CommaSpec.hs:45:7-18 (Semigroup a0) arising from a use of commaEmptyAs at test/Text/CommaSpec.hs:45:7-18 " In a stmt of a 'do' block: commaEmptyAs "and" NoComma ["red"] `shouldBe` "red" In the second argument of ($), namely do commaEmptyAs "and" OxfordComma [] `shouldBe` "and" commaEmptyAs "and" OxfordComma ["red"] `shouldBe` "red" commaEmptyAs "and" OxfordComma ["red", "green"] `shouldBe` "red, and green" commaEmptyAs "and" OxfordComma ["red", "green", ....] `shouldBe` "red, green, and blue" .... In a stmt of a 'do' block: it "commaEmptyAs" $ do commaEmptyAs "and" OxfordComma [] `shouldBe` "and" commaEmptyAs "and" OxfordComma ["red"] `shouldBe` "red" commaEmptyAs "and" OxfordComma ["red", "green"] `shouldBe` "red, and green" commaEmptyAs "and" OxfordComma ["red", "green", ....] `shouldBe` "red, green, and blue" .... | 45 | commaEmptyAs "and" NoComma ["red"] `shouldBe` "red" | ^^^^^^^^^^ test/Text/CommaSpec.hs:46:51: warning: [GHC-18042] [-Wtype-defaults] " Defaulting the type variable a0 to type String in the following constraints (Show a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:46:51-60 (Eq a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:46:51-60 (Data.String.IsString a0) arising from a use of commaEmptyAs at test/Text/CommaSpec.hs:46:7-18 (Semigroup a0) arising from a use of commaEmptyAs at test/Text/CommaSpec.hs:46:7-18 " In a stmt of a 'do' block: commaEmptyAs "and" NoComma ["red", "green"] `shouldBe` "red and green" In the second argument of ($), namely do commaEmptyAs "and" OxfordComma [] `shouldBe` "and" commaEmptyAs "and" OxfordComma ["red"] `shouldBe` "red" commaEmptyAs "and" OxfordComma ["red", "green"] `shouldBe` "red, and green" commaEmptyAs "and" OxfordComma ["red", "green", ....] `shouldBe` "red, green, and blue" .... In a stmt of a 'do' block: it "commaEmptyAs" $ do commaEmptyAs "and" OxfordComma [] `shouldBe` "and" commaEmptyAs "and" OxfordComma ["red"] `shouldBe` "red" commaEmptyAs "and" OxfordComma ["red", "green"] `shouldBe` "red, and green" commaEmptyAs "and" OxfordComma ["red", "green", ....] `shouldBe` "red, green, and blue" .... | 46 | commaEmptyAs "and" NoComma ["red", "green"] `shouldBe` "red and green" | ^^^^^^^^^^ test/Text/CommaSpec.hs:47:59: warning: [GHC-18042] [-Wtype-defaults] " Defaulting the type variable a0 to type String in the following constraints (Show a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:47:59-68 (Eq a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:47:59-68 (Data.String.IsString a0) arising from a use of commaEmptyAs at test/Text/CommaSpec.hs:47:7-18 (Semigroup a0) arising from a use of commaEmptyAs at test/Text/CommaSpec.hs:47:7-18 " In a stmt of a 'do' block: commaEmptyAs "and" NoComma ["red", "green", "blue"] `shouldBe` "red, green and blue" In the second argument of ($), namely do commaEmptyAs "and" OxfordComma [] `shouldBe` "and" commaEmptyAs "and" OxfordComma ["red"] `shouldBe` "red" commaEmptyAs "and" OxfordComma ["red", "green"] `shouldBe` "red, and green" commaEmptyAs "and" OxfordComma ["red", "green", ....] `shouldBe` "red, green, and blue" .... In a stmt of a 'do' block: it "commaEmptyAs" $ do commaEmptyAs "and" OxfordComma [] `shouldBe` "and" commaEmptyAs "and" OxfordComma ["red"] `shouldBe` "red" commaEmptyAs "and" OxfordComma ["red", "green"] `shouldBe` "red, and green" commaEmptyAs "and" OxfordComma ["red", "green", ....] `shouldBe` "red, green, and blue" .... | 47 | commaEmptyAs "and" NoComma ["red", "green", "blue"] `shouldBe` "red, green and blue" | ^^^^^^^^^^ test/Text/CommaSpec.hs:49:7: warning: [GHC-18042] [-Wtype-defaults] " Defaulting the type variable a0 to type String in the following constraints (Monoid a0) arising from a use of commaWith at test/Text/CommaSpec.hs:49:7-15 (Show a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:49:48-57 (Eq a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:49:48-57 (Data.String.IsString a0) arising from a use of commaWith at test/Text/CommaSpec.hs:49:7-15 " In the first argument of shouldBe, namely commaWith (toCommaValues OxfordComma) [] In a stmt of a 'do' block: commaWith (toCommaValues OxfordComma) [] `shouldBe` "" In the second argument of ($), namely do commaWith (toCommaValues OxfordComma) [] `shouldBe` "" commaWith (toCommaValues OxfordComma) ["red"] `shouldBe` "red" commaWith (toCommaValues OxfordComma) ["red", "green"] `shouldBe` "red, and green" commaWith (toCommaValues OxfordComma) ["red", "green", ....] `shouldBe` "red, green, and blue" .... | 49 | commaWith (toCommaValues OxfordComma) [] `shouldBe` "" | ^^^^^^^^^ test/Text/CommaSpec.hs:50:7: warning: [GHC-18042] [-Wtype-defaults] " Defaulting the type variable a0 to type String in the following constraints (Monoid a0) arising from a use of commaWith at test/Text/CommaSpec.hs:50:7-15 (Show a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:50:53-62 (Eq a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:50:53-62 (Data.String.IsString a0) arising from a use of commaWith at test/Text/CommaSpec.hs:50:7-15 " In the first argument of shouldBe, namely commaWith (toCommaValues OxfordComma) ["red"] In a stmt of a 'do' block: commaWith (toCommaValues OxfordComma) ["red"] `shouldBe` "red" In the second argument of ($), namely do commaWith (toCommaValues OxfordComma) [] `shouldBe` "" commaWith (toCommaValues OxfordComma) ["red"] `shouldBe` "red" commaWith (toCommaValues OxfordComma) ["red", "green"] `shouldBe` "red, and green" commaWith (toCommaValues OxfordComma) ["red", "green", ....] `shouldBe` "red, green, and blue" .... | 50 | commaWith (toCommaValues OxfordComma) ["red"] `shouldBe` "red" | ^^^^^^^^^ test/Text/CommaSpec.hs:51:7: warning: [GHC-18042] [-Wtype-defaults] " Defaulting the type variable a0 to type String in the following constraints (Monoid a0) arising from a use of commaWith at test/Text/CommaSpec.hs:51:7-15 (Show a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:51:62-71 (Eq a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:51:62-71 (Data.String.IsString a0) arising from a use of commaWith at test/Text/CommaSpec.hs:51:7-15 " In the first argument of shouldBe, namely commaWith (toCommaValues OxfordComma) ["red", "green"] In a stmt of a 'do' block: commaWith (toCommaValues OxfordComma) ["red", "green"] `shouldBe` "red, and green" In the second argument of ($), namely do commaWith (toCommaValues OxfordComma) [] `shouldBe` "" commaWith (toCommaValues OxfordComma) ["red"] `shouldBe` "red" commaWith (toCommaValues OxfordComma) ["red", "green"] `shouldBe` "red, and green" commaWith (toCommaValues OxfordComma) ["red", "green", ....] `shouldBe` "red, green, and blue" .... | 51 | commaWith (toCommaValues OxfordComma) ["red", "green"] `shouldBe` "red, and green" | ^^^^^^^^^ test/Text/CommaSpec.hs:52:7: warning: [GHC-18042] [-Wtype-defaults] " Defaulting the type variable a0 to type String in the following constraints (Monoid a0) arising from a use of commaWith at test/Text/CommaSpec.hs:52:7-15 (Show a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:52:70-79 (Eq a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:52:70-79 (Data.String.IsString a0) arising from a use of commaWith at test/Text/CommaSpec.hs:52:7-15 " In the first argument of shouldBe, namely commaWith (toCommaValues OxfordComma) ["red", "green", "blue"] In a stmt of a 'do' block: commaWith (toCommaValues OxfordComma) ["red", "green", "blue"] `shouldBe` "red, green, and blue" In the second argument of ($), namely do commaWith (toCommaValues OxfordComma) [] `shouldBe` "" commaWith (toCommaValues OxfordComma) ["red"] `shouldBe` "red" commaWith (toCommaValues OxfordComma) ["red", "green"] `shouldBe` "red, and green" commaWith (toCommaValues OxfordComma) ["red", "green", ....] `shouldBe` "red, green, and blue" .... | 52 | commaWith (toCommaValues OxfordComma) ["red", "green", "blue"] `shouldBe` "red, green, and blue" | ^^^^^^^^^ test/Text/CommaSpec.hs:53:7: warning: [GHC-18042] [-Wtype-defaults] " Defaulting the type variable a0 to type String in the following constraints (Monoid a0) arising from a use of commaWith at test/Text/CommaSpec.hs:53:7-15 (Show a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:53:44-53 (Eq a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:53:44-53 (Data.String.IsString a0) arising from a use of commaWith at test/Text/CommaSpec.hs:53:7-15 " In the first argument of shouldBe, namely commaWith (toCommaValues NoComma) [] In a stmt of a 'do' block: commaWith (toCommaValues NoComma) [] `shouldBe` "" In the second argument of ($), namely do commaWith (toCommaValues OxfordComma) [] `shouldBe` "" commaWith (toCommaValues OxfordComma) ["red"] `shouldBe` "red" commaWith (toCommaValues OxfordComma) ["red", "green"] `shouldBe` "red, and green" commaWith (toCommaValues OxfordComma) ["red", "green", ....] `shouldBe` "red, green, and blue" .... | 53 | commaWith (toCommaValues NoComma) [] `shouldBe` "" | ^^^^^^^^^ test/Text/CommaSpec.hs:54:7: warning: [GHC-18042] [-Wtype-defaults] " Defaulting the type variable a0 to type String in the following constraints (Monoid a0) arising from a use of commaWith at test/Text/CommaSpec.hs:54:7-15 (Show a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:54:49-58 (Eq a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:54:49-58 (Data.String.IsString a0) arising from a use of commaWith at test/Text/CommaSpec.hs:54:7-15 " In the first argument of shouldBe, namely commaWith (toCommaValues NoComma) ["red"] In a stmt of a 'do' block: commaWith (toCommaValues NoComma) ["red"] `shouldBe` "red" In the second argument of ($), namely do commaWith (toCommaValues OxfordComma) [] `shouldBe` "" commaWith (toCommaValues OxfordComma) ["red"] `shouldBe` "red" commaWith (toCommaValues OxfordComma) ["red", "green"] `shouldBe` "red, and green" commaWith (toCommaValues OxfordComma) ["red", "green", ....] `shouldBe` "red, green, and blue" .... | 54 | commaWith (toCommaValues NoComma) ["red"] `shouldBe` "red" | ^^^^^^^^^ test/Text/CommaSpec.hs:55:7: warning: [GHC-18042] [-Wtype-defaults] " Defaulting the type variable a0 to type String in the following constraints (Monoid a0) arising from a use of commaWith at test/Text/CommaSpec.hs:55:7-15 (Show a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:55:58-67 (Eq a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:55:58-67 (Data.String.IsString a0) arising from a use of commaWith at test/Text/CommaSpec.hs:55:7-15 " In the first argument of shouldBe, namely commaWith (toCommaValues NoComma) ["red", "green"] In a stmt of a 'do' block: commaWith (toCommaValues NoComma) ["red", "green"] `shouldBe` "red and green" In the second argument of ($), namely do commaWith (toCommaValues OxfordComma) [] `shouldBe` "" commaWith (toCommaValues OxfordComma) ["red"] `shouldBe` "red" commaWith (toCommaValues OxfordComma) ["red", "green"] `shouldBe` "red, and green" commaWith (toCommaValues OxfordComma) ["red", "green", ....] `shouldBe` "red, green, and blue" .... | 55 | commaWith (toCommaValues NoComma) ["red", "green"] `shouldBe` "red and green" | ^^^^^^^^^ test/Text/CommaSpec.hs:56:7: warning: [GHC-18042] [-Wtype-defaults] " Defaulting the type variable a0 to type String in the following constraints (Monoid a0) arising from a use of commaWith at test/Text/CommaSpec.hs:56:7-15 (Show a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:56:66-75 (Eq a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:56:66-75 (Data.String.IsString a0) arising from a use of commaWith at test/Text/CommaSpec.hs:56:7-15 " In the first argument of shouldBe, namely commaWith (toCommaValues NoComma) ["red", "green", "blue"] In a stmt of a 'do' block: commaWith (toCommaValues NoComma) ["red", "green", "blue"] `shouldBe` "red, green and blue" In the second argument of ($), namely do commaWith (toCommaValues OxfordComma) [] `shouldBe` "" commaWith (toCommaValues OxfordComma) ["red"] `shouldBe` "red" commaWith (toCommaValues OxfordComma) ["red", "green"] `shouldBe` "red, and green" commaWith (toCommaValues OxfordComma) ["red", "green", ....] `shouldBe` "red, green, and blue" .... | 56 | commaWith (toCommaValues NoComma) ["red", "green", "blue"] `shouldBe` "red, green and blue" | ^^^^^^^^^ test/Text/CommaSpec.hs:58:59: warning: [GHC-18042] [-Wtype-defaults] " Defaulting the type variable a0 to type String in the following constraints (Show a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:58:59-68 (Eq a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:58:59-68 (Data.String.IsString a0) arising from a use of commaEmptyWith at test/Text/CommaSpec.hs:58:7-20 (Semigroup a0) arising from a use of commaEmptyWith at test/Text/CommaSpec.hs:58:7-20 " In a stmt of a 'do' block: commaEmptyWith "and" (toCommaValues OxfordComma) [] `shouldBe` "and" In the second argument of ($), namely do commaEmptyWith "and" (toCommaValues OxfordComma) [] `shouldBe` "and" commaEmptyWith "and" (toCommaValues OxfordComma) ["red"] `shouldBe` "red" commaEmptyWith "and" (toCommaValues OxfordComma) ["red", "green"] `shouldBe` "red, and green" commaEmptyWith "and" (toCommaValues OxfordComma) ["red", "green", ....] `shouldBe` "red, green, and blue" .... In a stmt of a 'do' block: it "commaEmptyWith" $ do commaEmptyWith "and" (toCommaValues OxfordComma) [] `shouldBe` "and" commaEmptyWith "and" (toCommaValues OxfordComma) ["red"] `shouldBe` "red" commaEmptyWith "and" (toCommaValues OxfordComma) ["red", "green"] `shouldBe` "red, and green" commaEmptyWith "and" (toCommaValues OxfordComma) ["red", "green", ....] `shouldBe` "red, green, and blue" .... | 58 | commaEmptyWith "and" (toCommaValues OxfordComma) [] `shouldBe` "and" | ^^^^^^^^^^ test/Text/CommaSpec.hs:59:64: warning: [GHC-18042] [-Wtype-defaults] " Defaulting the type variable a0 to type String in the following constraints (Show a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:59:64-73 (Eq a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:59:64-73 (Data.String.IsString a0) arising from a use of commaEmptyWith at test/Text/CommaSpec.hs:59:7-20 (Semigroup a0) arising from a use of commaEmptyWith at test/Text/CommaSpec.hs:59:7-20 " In a stmt of a 'do' block: commaEmptyWith "and" (toCommaValues OxfordComma) ["red"] `shouldBe` "red" In the second argument of ($), namely do commaEmptyWith "and" (toCommaValues OxfordComma) [] `shouldBe` "and" commaEmptyWith "and" (toCommaValues OxfordComma) ["red"] `shouldBe` "red" commaEmptyWith "and" (toCommaValues OxfordComma) ["red", "green"] `shouldBe` "red, and green" commaEmptyWith "and" (toCommaValues OxfordComma) ["red", "green", ....] `shouldBe` "red, green, and blue" .... In a stmt of a 'do' block: it "commaEmptyWith" $ do commaEmptyWith "and" (toCommaValues OxfordComma) [] `shouldBe` "and" commaEmptyWith "and" (toCommaValues OxfordComma) ["red"] `shouldBe` "red" commaEmptyWith "and" (toCommaValues OxfordComma) ["red", "green"] `shouldBe` "red, and green" commaEmptyWith "and" (toCommaValues OxfordComma) ["red", "green", ....] `shouldBe` "red, green, and blue" .... | 59 | commaEmptyWith "and" (toCommaValues OxfordComma) ["red"] `shouldBe` "red" | ^^^^^^^^^^ test/Text/CommaSpec.hs:60:73: warning: [GHC-18042] [-Wtype-defaults] " Defaulting the type variable a0 to type String in the following constraints (Show a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:60:73-82 (Eq a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:60:73-82 (Data.String.IsString a0) arising from a use of commaEmptyWith at test/Text/CommaSpec.hs:60:7-20 (Semigroup a0) arising from a use of commaEmptyWith at test/Text/CommaSpec.hs:60:7-20 " In a stmt of a 'do' block: commaEmptyWith "and" (toCommaValues OxfordComma) ["red", "green"] `shouldBe` "red, and green" In the second argument of ($), namely do commaEmptyWith "and" (toCommaValues OxfordComma) [] `shouldBe` "and" commaEmptyWith "and" (toCommaValues OxfordComma) ["red"] `shouldBe` "red" commaEmptyWith "and" (toCommaValues OxfordComma) ["red", "green"] `shouldBe` "red, and green" commaEmptyWith "and" (toCommaValues OxfordComma) ["red", "green", ....] `shouldBe` "red, green, and blue" .... In a stmt of a 'do' block: it "commaEmptyWith" $ do commaEmptyWith "and" (toCommaValues OxfordComma) [] `shouldBe` "and" commaEmptyWith "and" (toCommaValues OxfordComma) ["red"] `shouldBe` "red" commaEmptyWith "and" (toCommaValues OxfordComma) ["red", "green"] `shouldBe` "red, and green" commaEmptyWith "and" (toCommaValues OxfordComma) ["red", "green", ....] `shouldBe` "red, green, and blue" .... | 60 | commaEmptyWith "and" (toCommaValues OxfordComma) ["red", "green"] `shouldBe` "red, and green" | ^^^^^^^^^^ test/Text/CommaSpec.hs:61:81: warning: [GHC-18042] [-Wtype-defaults] " Defaulting the type variable a0 to type String in the following constraints (Show a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:61:81-90 (Eq a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:61:81-90 (Data.String.IsString a0) arising from a use of commaEmptyWith at test/Text/CommaSpec.hs:61:7-20 (Semigroup a0) arising from a use of commaEmptyWith at test/Text/CommaSpec.hs:61:7-20 " In a stmt of a 'do' block: commaEmptyWith "and" (toCommaValues OxfordComma) ["red", "green", "blue"] `shouldBe` "red, green, and blue" In the second argument of ($), namely do commaEmptyWith "and" (toCommaValues OxfordComma) [] `shouldBe` "and" commaEmptyWith "and" (toCommaValues OxfordComma) ["red"] `shouldBe` "red" commaEmptyWith "and" (toCommaValues OxfordComma) ["red", "green"] `shouldBe` "red, and green" commaEmptyWith "and" (toCommaValues OxfordComma) ["red", "green", ....] `shouldBe` "red, green, and blue" .... In a stmt of a 'do' block: it "commaEmptyWith" $ do commaEmptyWith "and" (toCommaValues OxfordComma) [] `shouldBe` "and" commaEmptyWith "and" (toCommaValues OxfordComma) ["red"] `shouldBe` "red" commaEmptyWith "and" (toCommaValues OxfordComma) ["red", "green"] `shouldBe` "red, and green" commaEmptyWith "and" (toCommaValues OxfordComma) ["red", "green", ....] `shouldBe` "red, green, and blue" .... | 61 | commaEmptyWith "and" (toCommaValues OxfordComma) ["red", "green", "blue"] `shouldBe` "red, green, and blue" | ^^^^^^^^^^ test/Text/CommaSpec.hs:62:55: warning: [GHC-18042] [-Wtype-defaults] " Defaulting the type variable a0 to type String in the following constraints (Show a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:62:55-64 (Eq a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:62:55-64 (Data.String.IsString a0) arising from a use of commaEmptyWith at test/Text/CommaSpec.hs:62:7-20 (Semigroup a0) arising from a use of commaEmptyWith at test/Text/CommaSpec.hs:62:7-20 " In a stmt of a 'do' block: commaEmptyWith "and" (toCommaValues NoComma) [] `shouldBe` "and" In the second argument of ($), namely do commaEmptyWith "and" (toCommaValues OxfordComma) [] `shouldBe` "and" commaEmptyWith "and" (toCommaValues OxfordComma) ["red"] `shouldBe` "red" commaEmptyWith "and" (toCommaValues OxfordComma) ["red", "green"] `shouldBe` "red, and green" commaEmptyWith "and" (toCommaValues OxfordComma) ["red", "green", ....] `shouldBe` "red, green, and blue" .... In a stmt of a 'do' block: it "commaEmptyWith" $ do commaEmptyWith "and" (toCommaValues OxfordComma) [] `shouldBe` "and" commaEmptyWith "and" (toCommaValues OxfordComma) ["red"] `shouldBe` "red" commaEmptyWith "and" (toCommaValues OxfordComma) ["red", "green"] `shouldBe` "red, and green" commaEmptyWith "and" (toCommaValues OxfordComma) ["red", "green", ....] `shouldBe` "red, green, and blue" .... | 62 | commaEmptyWith "and" (toCommaValues NoComma) [] `shouldBe` "and" | ^^^^^^^^^^ test/Text/CommaSpec.hs:63:60: warning: [GHC-18042] [-Wtype-defaults] " Defaulting the type variable a0 to type String in the following constraints (Show a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:63:60-69 (Eq a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:63:60-69 (Data.String.IsString a0) arising from a use of commaEmptyWith at test/Text/CommaSpec.hs:63:7-20 (Semigroup a0) arising from a use of commaEmptyWith at test/Text/CommaSpec.hs:63:7-20 " In a stmt of a 'do' block: commaEmptyWith "and" (toCommaValues NoComma) ["red"] `shouldBe` "red" In the second argument of ($), namely do commaEmptyWith "and" (toCommaValues OxfordComma) [] `shouldBe` "and" commaEmptyWith "and" (toCommaValues OxfordComma) ["red"] `shouldBe` "red" commaEmptyWith "and" (toCommaValues OxfordComma) ["red", "green"] `shouldBe` "red, and green" commaEmptyWith "and" (toCommaValues OxfordComma) ["red", "green", ....] `shouldBe` "red, green, and blue" .... In a stmt of a 'do' block: it "commaEmptyWith" $ do commaEmptyWith "and" (toCommaValues OxfordComma) [] `shouldBe` "and" commaEmptyWith "and" (toCommaValues OxfordComma) ["red"] `shouldBe` "red" commaEmptyWith "and" (toCommaValues OxfordComma) ["red", "green"] `shouldBe` "red, and green" commaEmptyWith "and" (toCommaValues OxfordComma) ["red", "green", ....] `shouldBe` "red, green, and blue" .... | 63 | commaEmptyWith "and" (toCommaValues NoComma) ["red"] `shouldBe` "red" | ^^^^^^^^^^ test/Text/CommaSpec.hs:64:69: warning: [GHC-18042] [-Wtype-defaults] " Defaulting the type variable a0 to type String in the following constraints (Show a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:64:69-78 (Eq a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:64:69-78 (Data.String.IsString a0) arising from a use of commaEmptyWith at test/Text/CommaSpec.hs:64:7-20 (Semigroup a0) arising from a use of commaEmptyWith at test/Text/CommaSpec.hs:64:7-20 " In a stmt of a 'do' block: commaEmptyWith "and" (toCommaValues NoComma) ["red", "green"] `shouldBe` "red and green" In the second argument of ($), namely do commaEmptyWith "and" (toCommaValues OxfordComma) [] `shouldBe` "and" commaEmptyWith "and" (toCommaValues OxfordComma) ["red"] `shouldBe` "red" commaEmptyWith "and" (toCommaValues OxfordComma) ["red", "green"] `shouldBe` "red, and green" commaEmptyWith "and" (toCommaValues OxfordComma) ["red", "green", ....] `shouldBe` "red, green, and blue" .... In a stmt of a 'do' block: it "commaEmptyWith" $ do commaEmptyWith "and" (toCommaValues OxfordComma) [] `shouldBe` "and" commaEmptyWith "and" (toCommaValues OxfordComma) ["red"] `shouldBe` "red" commaEmptyWith "and" (toCommaValues OxfordComma) ["red", "green"] `shouldBe` "red, and green" commaEmptyWith "and" (toCommaValues OxfordComma) ["red", "green", ....] `shouldBe` "red, green, and blue" .... | 64 | commaEmptyWith "and" (toCommaValues NoComma) ["red", "green"] `shouldBe` "red and green" | ^^^^^^^^^^ test/Text/CommaSpec.hs:65:77: warning: [GHC-18042] [-Wtype-defaults] " Defaulting the type variable a0 to type String in the following constraints (Show a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:65:77-86 (Eq a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:65:77-86 (Data.String.IsString a0) arising from a use of commaEmptyWith at test/Text/CommaSpec.hs:65:7-20 (Semigroup a0) arising from a use of commaEmptyWith at test/Text/CommaSpec.hs:65:7-20 " In a stmt of a 'do' block: commaEmptyWith "and" (toCommaValues NoComma) ["red", "green", "blue"] `shouldBe` "red, green and blue" In the second argument of ($), namely do commaEmptyWith "and" (toCommaValues OxfordComma) [] `shouldBe` "and" commaEmptyWith "and" (toCommaValues OxfordComma) ["red"] `shouldBe` "red" commaEmptyWith "and" (toCommaValues OxfordComma) ["red", "green"] `shouldBe` "red, and green" commaEmptyWith "and" (toCommaValues OxfordComma) ["red", "green", ....] `shouldBe` "red, green, and blue" .... In a stmt of a 'do' block: it "commaEmptyWith" $ do commaEmptyWith "and" (toCommaValues OxfordComma) [] `shouldBe` "and" commaEmptyWith "and" (toCommaValues OxfordComma) ["red"] `shouldBe` "red" commaEmptyWith "and" (toCommaValues OxfordComma) ["red", "green"] `shouldBe` "red, and green" commaEmptyWith "and" (toCommaValues OxfordComma) ["red", "green", ....] `shouldBe` "red, green, and blue" .... | 65 | commaEmptyWith "and" (toCommaValues NoComma) ["red", "green", "blue"] `shouldBe` "red, green and blue" | ^^^^^^^^^^ test/Text/CommaSpec.hs:67:28: warning: [GHC-18042] [-Wtype-defaults] " Defaulting the type variable a0 to type String in the following constraints (Show a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:67:28-37 (Eq a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:67:28-37 (Data.String.IsString a0) arising from a use of lastJoin at test/Text/CommaSpec.hs:67:7-14 " In a stmt of a 'do' block: lastJoin OxfordComma `shouldBe` ", and " In the second argument of ($), namely do lastJoin OxfordComma `shouldBe` ", and " lastJoin NoComma `shouldBe` " and " In a stmt of a 'do' block: it "lastJoin" $ do lastJoin OxfordComma `shouldBe` ", and " lastJoin NoComma `shouldBe` " and " | 67 | lastJoin OxfordComma `shouldBe` ", and " | ^^^^^^^^^^ test/Text/CommaSpec.hs:68:24: warning: [GHC-18042] [-Wtype-defaults] " Defaulting the type variable a0 to type String in the following constraints (Show a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:68:24-33 (Eq a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:68:24-33 (Data.String.IsString a0) arising from a use of lastJoin at test/Text/CommaSpec.hs:68:7-14 " In a stmt of a 'do' block: lastJoin NoComma `shouldBe` " and " In the second argument of ($), namely do lastJoin OxfordComma `shouldBe` ", and " lastJoin NoComma `shouldBe` " and " In a stmt of a 'do' block: it "lastJoin" $ do lastJoin OxfordComma `shouldBe` ", and " lastJoin NoComma `shouldBe` " and " | 68 | lastJoin NoComma `shouldBe` " and " | ^^^^^^^^^^ test/Text/CommaSpec.hs:76:25: warning: [GHC-18042] [-Wtype-defaults] " Defaulting the type variable s0 to type String in the following constraints (Show s0) arising from a use of shouldBe at test/Text/CommaSpec.hs:76:25-34 (Eq s0) arising from a use of shouldBe at test/Text/CommaSpec.hs:76:25-34 (Data.String.IsString s0) arising from a use of toCommaValues at test/Text/CommaSpec.hs:76:7-19 " In a stmt of a 'do' block: toCommaValues def `shouldBe` def In the second argument of ($), namely do toCommaValues def `shouldBe` def commaText (toCommaValues def) `shouldBe` commaText def commaAndText (toCommaValues def) `shouldBe` commaAndText def In a stmt of a 'do' block: it "CommaValues" $ do toCommaValues def `shouldBe` def commaText (toCommaValues def) `shouldBe` commaText def commaAndText (toCommaValues def) `shouldBe` commaAndText def | 76 | toCommaValues def `shouldBe` def | ^^^^^^^^^^ test/Text/CommaSpec.hs:77:37: warning: [GHC-18042] [-Wtype-defaults] " Defaulting the type variable a0 to type String in the following constraints (Show a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:77:37-46 (Eq a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:77:37-46 (Data.String.IsString a0) arising from a use of toCommaValues at test/Text/CommaSpec.hs:77:18-30 " In a stmt of a 'do' block: commaText (toCommaValues def) `shouldBe` commaText def In the second argument of ($), namely do toCommaValues def `shouldBe` def commaText (toCommaValues def) `shouldBe` commaText def commaAndText (toCommaValues def) `shouldBe` commaAndText def In a stmt of a 'do' block: it "CommaValues" $ do toCommaValues def `shouldBe` def commaText (toCommaValues def) `shouldBe` commaText def commaAndText (toCommaValues def) `shouldBe` commaAndText def | 77 | commaText (toCommaValues def) `shouldBe` commaText def | ^^^^^^^^^^ test/Text/CommaSpec.hs:78:40: warning: [GHC-18042] [-Wtype-defaults] " Defaulting the type variable a0 to type String in the following constraints (Show a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:78:40-49 (Eq a0) arising from a use of shouldBe at test/Text/CommaSpec.hs:78:40-49 (Data.String.IsString a0) arising from a use of toCommaValues at test/Text/CommaSpec.hs:78:21-33 " In a stmt of a 'do' block: commaAndText (toCommaValues def) `shouldBe` commaAndText def In the second argument of ($), namely do toCommaValues def `shouldBe` def commaText (toCommaValues def) `shouldBe` commaText def commaAndText (toCommaValues def) `shouldBe` commaAndText def In a stmt of a 'do' block: it "CommaValues" $ do toCommaValues def `shouldBe` def commaText (toCommaValues def) `shouldBe` commaText def commaAndText (toCommaValues def) `shouldBe` commaAndText def | 78 | commaAndText (toCommaValues def) `shouldBe` commaAndText def | ^^^^^^^^^^ [2 of 2] Compiling Main ( test/Main.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/comma-and-0.2.0.0/noopt/build/and/and-tmp/Main.o ) [3 of 3] Linking /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/comma-and-0.2.0.0/noopt/build/and/and Running 1 test suites... Test suite and: RUNNING... Test suite and: PASS Test suite logged to: /home/builder/builder-dir/build-cache/tmp-install/reports/comma-and-0.2.0.0.test Writing: comma-and-0.2.0.0-inplace/Text.Comma.hs.html Writing: hpc_index.html Writing: hpc_index_fun.html Writing: hpc_index_alt.html Writing: hpc_index_exp.html Test coverage report written to /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/comma-and-0.2.0.0/noopt/hpc/vanilla/html/and/hpc_index.html 1 of 1 test suites (1 of 1 test cases) passed. Writing: comma-and-0.2.0.0-inplace/Text.Comma.hs.html Writing: hpc_index.html Writing: hpc_index_fun.html Writing: hpc_index_alt.html Writing: hpc_index_exp.html Package coverage report written to /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/comma-and-0.2.0.0/noopt/hpc/vanilla/html/comma-and-0.2.0.0/hpc_index.html