Resolving dependencies... Configuring string-qq-0.0.6... Preprocessing library for string-qq-0.0.6.. Building library for string-qq-0.0.6.. [1 of 1] Compiling Data.String.QQ ( src/Data/String/QQ.hs, dist/build/Data/String/QQ.o, dist/build/Data/String/QQ.dyn_o ) Preprocessing library for string-qq-0.0.6.. Running Haddock on library for string-qq-0.0.6.. Warning: --source-* options are ignored when --hyperlinked-source is enabled. [1 of 1] Compiling Data.String.QQ ( src/Data/String/QQ.hs, nothing ) Haddock coverage: 100% ( 2 / 2) in 'Data.String.QQ' Documentation created: dist/doc/html/string-qq/, dist/doc/html/string-qq/string-qq.txt Installing library in /var/lib/hackage-doc-builder/build-cache/tmp-install/lib/x86_64-linux-ghc-9.8.4/string-qq-0.0.6-Fv5s7Go3TlWFknpCjB0eIC Completed string-qq-0.0.6 Downloading BNFC-2.9.6.1 Downloaded BNFC-2.9.6.1 Configuring BNFC-2.9.6.1... Preprocessing library for BNFC-2.9.6.1.. Building library for BNFC-2.9.6.1.. [ 1 of 85] Compiling BNFC.Abs ( src/BNFC/Abs.hs, dist/build/BNFC/Abs.o, dist/build/BNFC/Abs.dyn_o ) [ 2 of 85] Compiling BNFC.Backend.CPP.STL.STLUtils ( src/BNFC/Backend/CPP/STL/STLUtils.hs, dist/build/BNFC/Backend/CPP/STL/STLUtils.o, dist/build/BNFC/Backend/CPP/STL/STLUtils.dyn_o ) [ 3 of 85] Compiling BNFC.Backend.Common.StrUtils ( src/BNFC/Backend/Common/StrUtils.hs, dist/build/BNFC/Backend/Common/StrUtils.o, dist/build/BNFC/Backend/Common/StrUtils.dyn_o ) [ 4 of 85] Compiling BNFC.Backend.Java.RegToAntlrLexer ( src/BNFC/Backend/Java/RegToAntlrLexer.hs, dist/build/BNFC/Backend/Java/RegToAntlrLexer.o, dist/build/BNFC/Backend/Java/RegToAntlrLexer.dyn_o ) [ 5 of 85] Compiling BNFC.Backend.TreeSitter.RegToJSReg ( src/BNFC/Backend/TreeSitter/RegToJSReg.hs, dist/build/BNFC/Backend/TreeSitter/RegToJSReg.o, dist/build/BNFC/Backend/TreeSitter/RegToJSReg.dyn_o ) [ 6 of 85] Compiling BNFC.Lex ( dist/build/BNFC/Lex.hs, dist/build/BNFC/Lex.o, dist/build/BNFC/Lex.dyn_o ) [ 7 of 85] Compiling BNFC.License ( src/BNFC/License.hs, dist/build/BNFC/License.o, dist/build/BNFC/License.dyn_o ) [ 8 of 85] Compiling BNFC.Par ( dist/build/BNFC/Par.hs, dist/build/BNFC/Par.o, dist/build/BNFC/Par.dyn_o ) [ 9 of 85] Compiling BNFC.PrettyPrint ( src/BNFC/PrettyPrint.hs, dist/build/BNFC/PrettyPrint.o, dist/build/BNFC/PrettyPrint.dyn_o ) [10 of 85] Compiling BNFC.Backend.Haskell.MkErrM ( src/BNFC/Backend/Haskell/MkErrM.hs, dist/build/BNFC/Backend/Haskell/MkErrM.o, dist/build/BNFC/Backend/Haskell/MkErrM.dyn_o ) [11 of 85] Compiling BNFC.Print ( src/BNFC/Print.hs, dist/build/BNFC/Print.o, dist/build/BNFC/Print.dyn_o ) [12 of 85] Compiling BNFC.Regex ( src/BNFC/Regex.hs, dist/build/BNFC/Regex.o, dist/build/BNFC/Regex.dyn_o ) [13 of 85] Compiling BNFC.Utils ( src/BNFC/Utils.hs, dist/build/BNFC/Utils.o, dist/build/BNFC/Utils.dyn_o ) [14 of 85] Compiling BNFC.CF ( src/BNFC/CF.hs, dist/build/BNFC/CF.o, dist/build/BNFC/CF.dyn_o ) src/BNFC/CF.hs:740:17: warning: [GHC-63394] [-Wx-partial] In the use of head (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 740 | (x,sep,xs) = (head ts, init (tail ts), last ts) | ^^^^ src/BNFC/CF.hs:740:32: warning: [GHC-63394] [-Wx-partial] In the use of tail (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Replace it with drop 1, or use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 740 | (x,sep,xs) = (head ts, init (tail ts), last ts) | ^^^^ [15 of 85] Compiling BNFC.TypeChecker ( src/BNFC/TypeChecker.hs, dist/build/BNFC/TypeChecker.o, dist/build/BNFC/TypeChecker.dyn_o ) src/BNFC/TypeChecker.hs:100:27: 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." | 100 | do unless (isLower $ head f) $ throwError $ | ^^^^ [16 of 85] Compiling BNFC.Lexing ( src/BNFC/Lexing.hs, dist/build/BNFC/Lexing.o, dist/build/BNFC/Lexing.dyn_o ) src/BNFC/Lexing.hs:263:29: warning: [GHC-63394] [-Wx-partial] In the use of tail (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Replace it with drop 1, or use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 263 | conds = zipWith (==) (tail $ reverse $ inits ys) (tail $ tails ys) | ^^^^ src/BNFC/Lexing.hs:263:57: warning: [GHC-63394] [-Wx-partial] In the use of tail (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Replace it with drop 1, or use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 263 | conds = zipWith (==) (tail $ reverse $ inits ys) (tail $ tails ys) | ^^^^ [17 of 85] Compiling BNFC.Check.EmptyTypes ( src/BNFC/Check/EmptyTypes.hs, dist/build/BNFC/Check/EmptyTypes.o, dist/build/BNFC/Check/EmptyTypes.dyn_o ) [18 of 85] Compiling BNFC.Backend.TreeSitter.CFtoTreeSitter ( src/BNFC/Backend/TreeSitter/CFtoTreeSitter.hs, dist/build/BNFC/Backend/TreeSitter/CFtoTreeSitter.o, dist/build/BNFC/Backend/TreeSitter/CFtoTreeSitter.dyn_o ) src/BNFC/Backend/TreeSitter/CFtoTreeSitter.hs:211:10: 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." | 211 | then head list | ^^^^ [19 of 85] Compiling BNFC.Backend.Common.OOAbstract ( src/BNFC/Backend/Common/OOAbstract.hs, dist/build/BNFC/Backend/Common/OOAbstract.o, dist/build/BNFC/Backend/Common/OOAbstract.dyn_o ) [20 of 85] Compiling BNFC.Backend.Common.NamedVariables ( src/BNFC/Backend/Common/NamedVariables.hs, dist/build/BNFC/Backend/Common/NamedVariables.o, dist/build/BNFC/Backend/Common/NamedVariables.dyn_o ) [21 of 85] Compiling BNFC.Backend.Java.CFtoAntlr4Lexer ( src/BNFC/Backend/Java/CFtoAntlr4Lexer.hs, dist/build/BNFC/Backend/Java/CFtoAntlr4Lexer.o, dist/build/BNFC/Backend/Java/CFtoAntlr4Lexer.dyn_o ) [22 of 85] Compiling BNFC.Backend.C.Common ( src/BNFC/Backend/C/Common.hs, dist/build/BNFC/Backend/C/Common.o, dist/build/BNFC/Backend/C/Common.dyn_o ) [23 of 85] Compiling BNFC.Backend.Txt2Tag ( src/BNFC/Backend/Txt2Tag.hs, dist/build/BNFC/Backend/Txt2Tag.o, dist/build/BNFC/Backend/Txt2Tag.dyn_o ) [24 of 85] Compiling BNFC.Backend.Java.Utils ( src/BNFC/Backend/Java/Utils.hs, dist/build/BNFC/Backend/Java/Utils.o, dist/build/BNFC/Backend/Java/Utils.dyn_o ) [25 of 85] Compiling BNFC.Backend.Java.CFtoAllVisitor ( src/BNFC/Backend/Java/CFtoAllVisitor.hs, dist/build/BNFC/Backend/Java/CFtoAllVisitor.o, dist/build/BNFC/Backend/Java/CFtoAllVisitor.dyn_o ) [26 of 85] Compiling BNFC.Backend.Java.CFtoAbstractVisitor ( src/BNFC/Backend/Java/CFtoAbstractVisitor.hs, dist/build/BNFC/Backend/Java/CFtoAbstractVisitor.o, dist/build/BNFC/Backend/Java/CFtoAbstractVisitor.dyn_o ) [27 of 85] Compiling BNFC.Backend.Haskell.CFtoLayout ( src/BNFC/Backend/Haskell/CFtoLayout.hs, dist/build/BNFC/Backend/Haskell/CFtoLayout.o, dist/build/BNFC/Backend/Haskell/CFtoLayout.dyn_o ) [28 of 85] Compiling BNFC.Backend.Common ( src/BNFC/Backend/Common.hs, dist/build/BNFC/Backend/Common.o, dist/build/BNFC/Backend/Common.dyn_o ) [29 of 85] Compiling BNFC.Backend.C.RegToFlex ( src/BNFC/Backend/C/RegToFlex.hs, dist/build/BNFC/Backend/C/RegToFlex.o, dist/build/BNFC/Backend/C/RegToFlex.dyn_o ) [30 of 85] Compiling BNFC.Backend.CPP.PrettyPrinter ( src/BNFC/Backend/CPP/PrettyPrinter.hs, dist/build/BNFC/Backend/CPP/PrettyPrinter.o, dist/build/BNFC/Backend/CPP/PrettyPrinter.dyn_o ) [31 of 85] Compiling BNFC.Backend.CPP.Naming ( src/BNFC/Backend/CPP/Naming.hs, dist/build/BNFC/Backend/CPP/Naming.o, dist/build/BNFC/Backend/CPP/Naming.dyn_o ) [32 of 85] Compiling BNFC.Backend.CPP.STL.CFtoCVisitSkelSTL ( src/BNFC/Backend/CPP/STL/CFtoCVisitSkelSTL.hs, dist/build/BNFC/Backend/CPP/STL/CFtoCVisitSkelSTL.o, dist/build/BNFC/Backend/CPP/STL/CFtoCVisitSkelSTL.dyn_o ) [33 of 85] Compiling BNFC.Backend.C.CFtoCSkel ( src/BNFC/Backend/C/CFtoCSkel.hs, dist/build/BNFC/Backend/C/CFtoCSkel.o, dist/build/BNFC/Backend/C/CFtoCSkel.dyn_o ) [34 of 85] Compiling BNFC.Backend.C.CFtoCPrinter ( src/BNFC/Backend/C/CFtoCPrinter.hs, dist/build/BNFC/Backend/C/CFtoCPrinter.o, dist/build/BNFC/Backend/C/CFtoCPrinter.dyn_o ) [35 of 85] Compiling Paths_BNFC ( dist/build/autogen/Paths_BNFC.hs, dist/build/Paths_BNFC.o, dist/build/Paths_BNFC.dyn_o ) [36 of 85] Compiling BNFC.Options ( src/BNFC/Options.hs, dist/build/BNFC/Options.o, dist/build/BNFC/Options.dyn_o ) [37 of 85] Compiling BNFC.GetCF ( src/BNFC/GetCF.hs, dist/build/BNFC/GetCF.o, dist/build/BNFC/GetCF.dyn_o ) src/BNFC/GetCF.hs:298:48: 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." | 298 | notIdent s = null s || not (isAlpha (head s)) || any (not . isIdentRest) s | ^^^^ src/BNFC/GetCF.hs:636:38: 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." | 636 | isBadCatName s = not $ isUpper (head s) || (head s == '@') | ^^^^ src/BNFC/GetCF.hs:636:50: 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." | 636 | isBadCatName s = not $ isUpper (head s) || (head s == '@') | ^^^^ [38 of 85] Compiling BNFC.Backend.OCaml.OCamlUtil ( src/BNFC/Backend/OCaml/OCamlUtil.hs, dist/build/BNFC/Backend/OCaml/OCamlUtil.o, dist/build/BNFC/Backend/OCaml/OCamlUtil.dyn_o ) [39 of 85] Compiling BNFC.Backend.OCaml.CFtoOCamlTemplate ( src/BNFC/Backend/OCaml/CFtoOCamlTemplate.hs, dist/build/BNFC/Backend/OCaml/CFtoOCamlTemplate.o, dist/build/BNFC/Backend/OCaml/CFtoOCamlTemplate.dyn_o ) [40 of 85] Compiling BNFC.Backend.OCaml.CFtoOCamlShow ( src/BNFC/Backend/OCaml/CFtoOCamlShow.hs, dist/build/BNFC/Backend/OCaml/CFtoOCamlShow.o, dist/build/BNFC/Backend/OCaml/CFtoOCamlShow.dyn_o ) [41 of 85] Compiling BNFC.Backend.OCaml.CFtoOCamlAbs ( src/BNFC/Backend/OCaml/CFtoOCamlAbs.hs, dist/build/BNFC/Backend/OCaml/CFtoOCamlAbs.o, dist/build/BNFC/Backend/OCaml/CFtoOCamlAbs.dyn_o ) [42 of 85] Compiling BNFC.Backend.OCaml.CFtoOCamlYacc ( src/BNFC/Backend/OCaml/CFtoOCamlYacc.hs, dist/build/BNFC/Backend/OCaml/CFtoOCamlYacc.o, dist/build/BNFC/Backend/OCaml/CFtoOCamlYacc.dyn_o ) [43 of 85] Compiling BNFC.Backend.OCaml.CFtoOCamlLex ( src/BNFC/Backend/OCaml/CFtoOCamlLex.hs, dist/build/BNFC/Backend/OCaml/CFtoOCamlLex.o, dist/build/BNFC/Backend/OCaml/CFtoOCamlLex.dyn_o ) [44 of 85] Compiling BNFC.Backend.Java.RegToJLex ( src/BNFC/Backend/Java/RegToJLex.hs, dist/build/BNFC/Backend/Java/RegToJLex.o, dist/build/BNFC/Backend/Java/RegToJLex.dyn_o ) [45 of 85] Compiling BNFC.Backend.Java.CFtoJavaAbs15 ( src/BNFC/Backend/Java/CFtoJavaAbs15.hs, dist/build/BNFC/Backend/Java/CFtoJavaAbs15.o, dist/build/BNFC/Backend/Java/CFtoJavaAbs15.dyn_o ) src/BNFC/Backend/Java/CFtoJavaAbs15.hs:119:25: 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." | 119 | | isUpper (head x) -> callQ x es | ^^^^ [46 of 85] Compiling BNFC.Backend.Java.CFtoVisitSkel15 ( src/BNFC/Backend/Java/CFtoVisitSkel15.hs, dist/build/BNFC/Backend/Java/CFtoVisitSkel15.o, dist/build/BNFC/Backend/Java/CFtoVisitSkel15.dyn_o ) [47 of 85] Compiling BNFC.Backend.Java.CFtoJavaPrinter15 ( src/BNFC/Backend/Java/CFtoJavaPrinter15.hs, dist/build/BNFC/Backend/Java/CFtoJavaPrinter15.o, dist/build/BNFC/Backend/Java/CFtoJavaPrinter15.dyn_o ) [48 of 85] Compiling BNFC.Backend.Java.CFtoFoldVisitor ( src/BNFC/Backend/Java/CFtoFoldVisitor.hs, dist/build/BNFC/Backend/Java/CFtoFoldVisitor.o, dist/build/BNFC/Backend/Java/CFtoFoldVisitor.dyn_o ) [49 of 85] Compiling BNFC.Backend.Java.CFtoComposVisitor ( src/BNFC/Backend/Java/CFtoComposVisitor.hs, dist/build/BNFC/Backend/Java/CFtoComposVisitor.o, dist/build/BNFC/Backend/Java/CFtoComposVisitor.dyn_o ) [50 of 85] Compiling BNFC.Backend.Java.CFtoCup15 ( src/BNFC/Backend/Java/CFtoCup15.hs, dist/build/BNFC/Backend/Java/CFtoCup15.o, dist/build/BNFC/Backend/Java/CFtoCup15.dyn_o ) [51 of 85] Compiling BNFC.Backend.Java.CFtoAntlr4Parser ( src/BNFC/Backend/Java/CFtoAntlr4Parser.hs, dist/build/BNFC/Backend/Java/CFtoAntlr4Parser.o, dist/build/BNFC/Backend/Java/CFtoAntlr4Parser.dyn_o ) [52 of 85] Compiling BNFC.Backend.Haskell.Utils ( src/BNFC/Backend/Haskell/Utils.hs, dist/build/BNFC/Backend/Haskell/Utils.o, dist/build/BNFC/Backend/Haskell/Utils.dyn_o ) [53 of 85] Compiling BNFC.Backend.HaskellGADT.HaskellGADTCommon ( src/BNFC/Backend/HaskellGADT/HaskellGADTCommon.hs, dist/build/BNFC/Backend/HaskellGADT/HaskellGADTCommon.o, dist/build/BNFC/Backend/HaskellGADT/HaskellGADTCommon.dyn_o ) src/BNFC/Backend/HaskellGADT/HaskellGADTCommon.hs:40:16: 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." | 40 | ruleFun cf f = head $ filter ((f ==) . funName . funRule) $ cfgRules cf | ^^^^ [54 of 85] Compiling BNFC.Backend.HaskellGADT.CFtoTemplateGADT ( src/BNFC/Backend/HaskellGADT/CFtoTemplateGADT.hs, dist/build/BNFC/Backend/HaskellGADT/CFtoTemplateGADT.o, dist/build/BNFC/Backend/HaskellGADT/CFtoTemplateGADT.dyn_o ) src/BNFC/Backend/HaskellGADT/CFtoTemplateGADT.hs:62:26: 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." | 62 | catCons cf = [ (consCat (head cs),cs) | cs <- groupBy catEq $ cf2cons cf] | ^^^^ [55 of 85] Compiling BNFC.Backend.Haskell.CFtoTemplate ( src/BNFC/Backend/Haskell/CFtoTemplate.hs, dist/build/BNFC/Backend/Haskell/CFtoTemplate.o, dist/build/BNFC/Backend/Haskell/CFtoTemplate.dyn_o ) [56 of 85] Compiling BNFC.Backend.Haskell.HsOpts ( src/BNFC/Backend/Haskell/HsOpts.hs, dist/build/BNFC/Backend/Haskell/HsOpts.o, dist/build/BNFC/Backend/Haskell/HsOpts.dyn_o ) [57 of 85] Compiling BNFC.Backend.Haskell.CFtoPrinter ( src/BNFC/Backend/Haskell/CFtoPrinter.hs, dist/build/BNFC/Backend/Haskell/CFtoPrinter.o, dist/build/BNFC/Backend/Haskell/CFtoPrinter.dyn_o ) src/BNFC/Backend/Haskell/CFtoPrinter.hs:356:36: 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." | 356 | | isOneFun f = text "[" <+> head variables <+> "]" | ^^^^ [58 of 85] Compiling BNFC.Backend.OCaml.CFtoOCamlPrinter ( src/BNFC/Backend/OCaml/CFtoOCamlPrinter.hs, dist/build/BNFC/Backend/OCaml/CFtoOCamlPrinter.o, dist/build/BNFC/Backend/OCaml/CFtoOCamlPrinter.dyn_o ) [59 of 85] Compiling BNFC.Backend.OCaml.CFtoOCamlTest ( src/BNFC/Backend/OCaml/CFtoOCamlTest.hs, dist/build/BNFC/Backend/OCaml/CFtoOCamlTest.o, dist/build/BNFC/Backend/OCaml/CFtoOCamlTest.dyn_o ) [60 of 85] Compiling BNFC.Backend.Haskell.CFtoHappy ( src/BNFC/Backend/Haskell/CFtoHappy.hs, dist/build/BNFC/Backend/Haskell/CFtoHappy.o, dist/build/BNFC/Backend/Haskell/CFtoHappy.dyn_o ) [61 of 85] Compiling BNFC.Backend.Haskell.CFtoAlex3 ( src/BNFC/Backend/Haskell/CFtoAlex3.hs, dist/build/BNFC/Backend/Haskell/CFtoAlex3.o, dist/build/BNFC/Backend/Haskell/CFtoAlex3.dyn_o ) [62 of 85] Compiling BNFC.Backend.Haskell.CFtoAbstract ( src/BNFC/Backend/Haskell/CFtoAbstract.hs, dist/build/BNFC/Backend/Haskell/CFtoAbstract.o, dist/build/BNFC/Backend/Haskell/CFtoAbstract.dyn_o ) [63 of 85] Compiling BNFC.Backend.HaskellGADT.CFtoAbstractGADT ( src/BNFC/Backend/HaskellGADT/CFtoAbstractGADT.hs, dist/build/BNFC/Backend/HaskellGADT/CFtoAbstractGADT.o, dist/build/BNFC/Backend/HaskellGADT/CFtoAbstractGADT.dyn_o ) [64 of 85] Compiling BNFC.Backend.C.CFtoFlexC ( src/BNFC/Backend/C/CFtoFlexC.hs, dist/build/BNFC/Backend/C/CFtoFlexC.o, dist/build/BNFC/Backend/C/CFtoFlexC.dyn_o ) [65 of 85] Compiling BNFC.Backend.Java.CFtoJLex15 ( src/BNFC/Backend/Java/CFtoJLex15.hs, dist/build/BNFC/Backend/Java/CFtoJLex15.o, dist/build/BNFC/Backend/Java/CFtoJLex15.dyn_o ) [66 of 85] Compiling BNFC.Backend.C.CFtoCAbs ( src/BNFC/Backend/C/CFtoCAbs.hs, dist/build/BNFC/Backend/C/CFtoCAbs.o, dist/build/BNFC/Backend/C/CFtoCAbs.dyn_o ) src/BNFC/Backend/C/CFtoCAbs.hs:270:42: 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." | 270 | prInstVarsOneType ivars = text (fst (head ivars)) | ^^^^ [67 of 85] Compiling BNFC.Backend.C.CFtoBisonC ( src/BNFC/Backend/C/CFtoBisonC.hs, dist/build/BNFC/Backend/C/CFtoBisonC.o, dist/build/BNFC/Backend/C/CFtoBisonC.dyn_o ) src/BNFC/Backend/C/CFtoBisonC.hs:452:40: 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." | 452 | | otherwise = \ s -> if isUpper (head s) then "new " ++ s else sanitizeCpp s | ^^^^ src/BNFC/Backend/C/CFtoBisonC.hs:458:85: 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." | 458 | | isOneFun f -> concat ["$$ = ", "new ", scope, nt, "(); $$->push_back(", head ms, ");"] | ^^^^ [68 of 85] Compiling BNFC.Backend.Base ( src/BNFC/Backend/Base.hs, dist/build/BNFC/Backend/Base.o, dist/build/BNFC/Backend/Base.dyn_o ) [69 of 85] Compiling BNFC.Backend.XML ( src/BNFC/Backend/XML.hs, dist/build/BNFC/Backend/XML.o, dist/build/BNFC/Backend/XML.dyn_o ) [70 of 85] Compiling BNFC.Backend.TreeSitter ( src/BNFC/Backend/TreeSitter.hs, dist/build/BNFC/Backend/TreeSitter.o, dist/build/BNFC/Backend/TreeSitter.dyn_o ) [71 of 85] Compiling BNFC.Backend.Pygments ( src/BNFC/Backend/Pygments.hs, dist/build/BNFC/Backend/Pygments.o, dist/build/BNFC/Backend/Pygments.dyn_o ) [72 of 85] Compiling BNFC.Backend.Common.Makefile ( src/BNFC/Backend/Common/Makefile.hs, dist/build/BNFC/Backend/Common/Makefile.o, dist/build/BNFC/Backend/Common/Makefile.dyn_o ) [73 of 85] Compiling BNFC.Backend.Latex ( src/BNFC/Backend/Latex.hs, dist/build/BNFC/Backend/Latex.o, dist/build/BNFC/Backend/Latex.dyn_o ) [74 of 85] Compiling BNFC.Backend.Java ( src/BNFC/Backend/Java.hs, dist/build/BNFC/Backend/Java.o, dist/build/BNFC/Backend/Java.dyn_o ) src/BNFC/Backend/Java.hs:91:18: 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." | 91 | (head $ results lexmake) -- lexer class | ^^^^ src/BNFC/Backend/Java.hs:92:18: 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." | 92 | (head $ results parmake) -- parser class | ^^^^ src/BNFC/Backend/Java.hs:649:24: 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." | 649 | def = head eps | ^^^^ [75 of 85] Compiling BNFC.Backend.CPP.Makefile ( src/BNFC/Backend/CPP/Makefile.hs, dist/build/BNFC/Backend/CPP/Makefile.o, dist/build/BNFC/Backend/CPP/Makefile.dyn_o ) [76 of 85] Compiling BNFC.Backend.C ( src/BNFC/Backend/C.hs, dist/build/BNFC/Backend/C.o, dist/build/BNFC/Backend/C.dyn_o ) [77 of 85] Compiling BNFC.Backend.OCaml ( src/BNFC/Backend/OCaml.hs, dist/build/BNFC/Backend/OCaml.o, dist/build/BNFC/Backend/OCaml.dyn_o ) [78 of 85] Compiling BNFC.Backend.CPP.Common ( src/BNFC/Backend/CPP/Common.hs, dist/build/BNFC/Backend/CPP/Common.o, dist/build/BNFC/Backend/CPP/Common.dyn_o ) src/BNFC/Backend/CPP/Common.hs:66:26: 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." | 66 | | isUpper (head x) -> call ("new " ++ x) es | ^^^^ [79 of 85] Compiling BNFC.Backend.CPP.STL.CFtoSTLAbs ( src/BNFC/Backend/CPP/STL/CFtoSTLAbs.hs, dist/build/BNFC/Backend/CPP/STL/CFtoSTLAbs.o, dist/build/BNFC/Backend/CPP/STL/CFtoSTLAbs.dyn_o ) [80 of 85] Compiling BNFC.Backend.CPP.STL ( src/BNFC/Backend/CPP/STL.hs, dist/build/BNFC/Backend/CPP/STL.o, dist/build/BNFC/Backend/CPP/STL.dyn_o ) [81 of 85] Compiling BNFC.Backend.CPP.NoSTL.CFtoCPPAbs ( src/BNFC/Backend/CPP/NoSTL/CFtoCPPAbs.hs, dist/build/BNFC/Backend/CPP/NoSTL/CFtoCPPAbs.o, dist/build/BNFC/Backend/CPP/NoSTL/CFtoCPPAbs.dyn_o ) [82 of 85] Compiling BNFC.Backend.CPP.NoSTL ( src/BNFC/Backend/CPP/NoSTL.hs, dist/build/BNFC/Backend/CPP/NoSTL.o, dist/build/BNFC/Backend/CPP/NoSTL.dyn_o ) [83 of 85] Compiling BNFC.Backend.Agda ( src/BNFC/Backend/Agda.hs, dist/build/BNFC/Backend/Agda.o, dist/build/BNFC/Backend/Agda.dyn_o ) src/BNFC/Backend/Agda.hs:533:22: 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." | 533 | , pragmaData amod (head $ words d) haskellDataName cs | ^^^^ src/BNFC/Backend/Agda.hs:671:25: 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." | 671 | nameFor d = [ toLower $ head $ dropWhile (== '#') d ] | ^^^^ [84 of 85] Compiling BNFC.Backend.Haskell ( src/BNFC/Backend/Haskell.hs, dist/build/BNFC/Backend/Haskell.o, dist/build/BNFC/Backend/Haskell.dyn_o ) [85 of 85] Compiling BNFC.Backend.HaskellGADT ( src/BNFC/Backend/HaskellGADT.hs, dist/build/BNFC/Backend/HaskellGADT.o, dist/build/BNFC/Backend/HaskellGADT.dyn_o ) Preprocessing executable 'bnfc' for BNFC-2.9.6.1.. Building executable 'bnfc' for BNFC-2.9.6.1.. [1 of 2] Compiling Paths_BNFC ( dist/build/bnfc/autogen/Paths_BNFC.hs, dist/build/bnfc/bnfc-tmp/Paths_BNFC.o ) [2 of 2] Compiling Main ( main/Main.hs, dist/build/bnfc/bnfc-tmp/Main.o ) [3 of 3] Linking dist/build/bnfc/bnfc Preprocessing library for BNFC-2.9.6.1.. Running Haddock on library for BNFC-2.9.6.1.. Warning: --source-* options are ignored when --hyperlinked-source is enabled. [ 1 of 85] Compiling BNFC.Abs ( src/BNFC/Abs.hs, nothing ) [ 2 of 85] Compiling BNFC.Backend.CPP.STL.STLUtils ( src/BNFC/Backend/CPP/STL/STLUtils.hs, nothing ) [ 3 of 85] Compiling BNFC.Backend.Common.StrUtils ( src/BNFC/Backend/Common/StrUtils.hs, nothing ) [ 4 of 85] Compiling BNFC.Backend.Java.RegToAntlrLexer ( src/BNFC/Backend/Java/RegToAntlrLexer.hs, nothing ) [ 5 of 85] Compiling BNFC.Backend.TreeSitter.RegToJSReg ( src/BNFC/Backend/TreeSitter/RegToJSReg.hs, nothing ) [ 6 of 85] Compiling BNFC.Lex ( dist/build/BNFC/Lex.hs, nothing ) [ 7 of 85] Compiling BNFC.License ( src/BNFC/License.hs, nothing ) [ 8 of 85] Compiling BNFC.Par ( dist/build/BNFC/Par.hs, nothing ) [ 9 of 85] Compiling BNFC.PrettyPrint ( src/BNFC/PrettyPrint.hs, nothing ) [10 of 85] Compiling BNFC.Backend.Haskell.MkErrM ( src/BNFC/Backend/Haskell/MkErrM.hs, nothing ) [11 of 85] Compiling BNFC.Print ( src/BNFC/Print.hs, nothing ) [12 of 85] Compiling BNFC.Regex ( src/BNFC/Regex.hs, nothing ) [13 of 85] Compiling BNFC.Utils ( src/BNFC/Utils.hs, nothing ) [14 of 85] Compiling BNFC.CF ( src/BNFC/CF.hs, nothing ) src/BNFC/CF.hs:740:17: warning: [GHC-63394] [-Wx-partial] In the use of head (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 740 | (x,sep,xs) = (head ts, init (tail ts), last ts) | ^^^^ src/BNFC/CF.hs:740:32: warning: [GHC-63394] [-Wx-partial] In the use of tail (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Replace it with drop 1, or use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 740 | (x,sep,xs) = (head ts, init (tail ts), last ts) | ^^^^ [15 of 85] Compiling BNFC.TypeChecker ( src/BNFC/TypeChecker.hs, nothing ) src/BNFC/TypeChecker.hs:100:27: 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." | 100 | do unless (isLower $ head f) $ throwError $ | ^^^^ [16 of 85] Compiling BNFC.Lexing ( src/BNFC/Lexing.hs, nothing ) src/BNFC/Lexing.hs:263:29: warning: [GHC-63394] [-Wx-partial] In the use of tail (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Replace it with drop 1, or use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 263 | conds = zipWith (==) (tail $ reverse $ inits ys) (tail $ tails ys) | ^^^^ src/BNFC/Lexing.hs:263:57: warning: [GHC-63394] [-Wx-partial] In the use of tail (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Replace it with drop 1, or use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 263 | conds = zipWith (==) (tail $ reverse $ inits ys) (tail $ tails ys) | ^^^^ [17 of 85] Compiling BNFC.Check.EmptyTypes ( src/BNFC/Check/EmptyTypes.hs, nothing ) [18 of 85] Compiling BNFC.Backend.TreeSitter.CFtoTreeSitter ( src/BNFC/Backend/TreeSitter/CFtoTreeSitter.hs, nothing ) src/BNFC/Backend/TreeSitter/CFtoTreeSitter.hs:211:10: 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." | 211 | then head list | ^^^^ [19 of 85] Compiling BNFC.Backend.Common.OOAbstract ( src/BNFC/Backend/Common/OOAbstract.hs, nothing ) [20 of 85] Compiling BNFC.Backend.Common.NamedVariables ( src/BNFC/Backend/Common/NamedVariables.hs, nothing ) [21 of 85] Compiling BNFC.Backend.Java.CFtoAntlr4Lexer ( src/BNFC/Backend/Java/CFtoAntlr4Lexer.hs, nothing ) [22 of 85] Compiling BNFC.Backend.C.Common ( src/BNFC/Backend/C/Common.hs, nothing ) [23 of 85] Compiling BNFC.Backend.Txt2Tag ( src/BNFC/Backend/Txt2Tag.hs, nothing ) [24 of 85] Compiling BNFC.Backend.Java.Utils ( src/BNFC/Backend/Java/Utils.hs, nothing ) [25 of 85] Compiling BNFC.Backend.Java.CFtoAllVisitor ( src/BNFC/Backend/Java/CFtoAllVisitor.hs, nothing ) [26 of 85] Compiling BNFC.Backend.Java.CFtoAbstractVisitor ( src/BNFC/Backend/Java/CFtoAbstractVisitor.hs, nothing ) [27 of 85] Compiling BNFC.Backend.Haskell.CFtoLayout ( src/BNFC/Backend/Haskell/CFtoLayout.hs, nothing ) [28 of 85] Compiling BNFC.Backend.Common ( src/BNFC/Backend/Common.hs, nothing ) [29 of 85] Compiling BNFC.Backend.C.RegToFlex ( src/BNFC/Backend/C/RegToFlex.hs, nothing ) [30 of 85] Compiling BNFC.Backend.CPP.PrettyPrinter ( src/BNFC/Backend/CPP/PrettyPrinter.hs, nothing ) [31 of 85] Compiling BNFC.Backend.CPP.Naming ( src/BNFC/Backend/CPP/Naming.hs, nothing ) [32 of 85] Compiling BNFC.Backend.CPP.STL.CFtoCVisitSkelSTL ( src/BNFC/Backend/CPP/STL/CFtoCVisitSkelSTL.hs, nothing ) [33 of 85] Compiling BNFC.Backend.C.CFtoCSkel ( src/BNFC/Backend/C/CFtoCSkel.hs, nothing ) [34 of 85] Compiling BNFC.Backend.C.CFtoCPrinter ( src/BNFC/Backend/C/CFtoCPrinter.hs, nothing ) [35 of 85] Compiling Paths_BNFC ( dist/build/autogen/Paths_BNFC.hs, nothing ) [36 of 85] Compiling BNFC.Options ( src/BNFC/Options.hs, nothing ) [37 of 85] Compiling BNFC.GetCF ( src/BNFC/GetCF.hs, nothing ) src/BNFC/GetCF.hs:298:48: 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." | 298 | notIdent s = null s || not (isAlpha (head s)) || any (not . isIdentRest) s | ^^^^ src/BNFC/GetCF.hs:636:38: 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." | 636 | isBadCatName s = not $ isUpper (head s) || (head s == '@') | ^^^^ src/BNFC/GetCF.hs:636:50: 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." | 636 | isBadCatName s = not $ isUpper (head s) || (head s == '@') | ^^^^ [38 of 85] Compiling BNFC.Backend.OCaml.OCamlUtil ( src/BNFC/Backend/OCaml/OCamlUtil.hs, nothing ) [39 of 85] Compiling BNFC.Backend.OCaml.CFtoOCamlTemplate ( src/BNFC/Backend/OCaml/CFtoOCamlTemplate.hs, nothing ) [40 of 85] Compiling BNFC.Backend.OCaml.CFtoOCamlShow ( src/BNFC/Backend/OCaml/CFtoOCamlShow.hs, nothing ) [41 of 85] Compiling BNFC.Backend.OCaml.CFtoOCamlAbs ( src/BNFC/Backend/OCaml/CFtoOCamlAbs.hs, nothing ) [42 of 85] Compiling BNFC.Backend.OCaml.CFtoOCamlYacc ( src/BNFC/Backend/OCaml/CFtoOCamlYacc.hs, nothing ) [43 of 85] Compiling BNFC.Backend.OCaml.CFtoOCamlLex ( src/BNFC/Backend/OCaml/CFtoOCamlLex.hs, nothing ) [44 of 85] Compiling BNFC.Backend.Java.RegToJLex ( src/BNFC/Backend/Java/RegToJLex.hs, nothing ) [45 of 85] Compiling BNFC.Backend.Java.CFtoJavaAbs15 ( src/BNFC/Backend/Java/CFtoJavaAbs15.hs, nothing ) src/BNFC/Backend/Java/CFtoJavaAbs15.hs:119:25: 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." | 119 | | isUpper (head x) -> callQ x es | ^^^^ [46 of 85] Compiling BNFC.Backend.Java.CFtoVisitSkel15 ( src/BNFC/Backend/Java/CFtoVisitSkel15.hs, nothing ) [47 of 85] Compiling BNFC.Backend.Java.CFtoJavaPrinter15 ( src/BNFC/Backend/Java/CFtoJavaPrinter15.hs, nothing ) [48 of 85] Compiling BNFC.Backend.Java.CFtoFoldVisitor ( src/BNFC/Backend/Java/CFtoFoldVisitor.hs, nothing ) [49 of 85] Compiling BNFC.Backend.Java.CFtoComposVisitor ( src/BNFC/Backend/Java/CFtoComposVisitor.hs, nothing ) [50 of 85] Compiling BNFC.Backend.Java.CFtoCup15 ( src/BNFC/Backend/Java/CFtoCup15.hs, nothing ) [51 of 85] Compiling BNFC.Backend.Java.CFtoAntlr4Parser ( src/BNFC/Backend/Java/CFtoAntlr4Parser.hs, nothing ) [52 of 85] Compiling BNFC.Backend.Haskell.Utils ( src/BNFC/Backend/Haskell/Utils.hs, nothing ) [53 of 85] Compiling BNFC.Backend.HaskellGADT.HaskellGADTCommon ( src/BNFC/Backend/HaskellGADT/HaskellGADTCommon.hs, nothing ) src/BNFC/Backend/HaskellGADT/HaskellGADTCommon.hs:40:16: 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." | 40 | ruleFun cf f = head $ filter ((f ==) . funName . funRule) $ cfgRules cf | ^^^^ [54 of 85] Compiling BNFC.Backend.HaskellGADT.CFtoTemplateGADT ( src/BNFC/Backend/HaskellGADT/CFtoTemplateGADT.hs, nothing ) src/BNFC/Backend/HaskellGADT/CFtoTemplateGADT.hs:62:26: 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." | 62 | catCons cf = [ (consCat (head cs),cs) | cs <- groupBy catEq $ cf2cons cf] | ^^^^ [55 of 85] Compiling BNFC.Backend.Haskell.CFtoTemplate ( src/BNFC/Backend/Haskell/CFtoTemplate.hs, nothing ) [56 of 85] Compiling BNFC.Backend.Haskell.HsOpts ( src/BNFC/Backend/Haskell/HsOpts.hs, nothing ) [57 of 85] Compiling BNFC.Backend.Haskell.CFtoPrinter ( src/BNFC/Backend/Haskell/CFtoPrinter.hs, nothing ) src/BNFC/Backend/Haskell/CFtoPrinter.hs:356:36: 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." | 356 | | isOneFun f = text "[" <+> head variables <+> "]" | ^^^^ [58 of 85] Compiling BNFC.Backend.OCaml.CFtoOCamlPrinter ( src/BNFC/Backend/OCaml/CFtoOCamlPrinter.hs, nothing ) [59 of 85] Compiling BNFC.Backend.OCaml.CFtoOCamlTest ( src/BNFC/Backend/OCaml/CFtoOCamlTest.hs, nothing ) [60 of 85] Compiling BNFC.Backend.Haskell.CFtoHappy ( src/BNFC/Backend/Haskell/CFtoHappy.hs, nothing ) [61 of 85] Compiling BNFC.Backend.Haskell.CFtoAlex3 ( src/BNFC/Backend/Haskell/CFtoAlex3.hs, nothing ) [62 of 85] Compiling BNFC.Backend.Haskell.CFtoAbstract ( src/BNFC/Backend/Haskell/CFtoAbstract.hs, nothing ) [63 of 85] Compiling BNFC.Backend.HaskellGADT.CFtoAbstractGADT ( src/BNFC/Backend/HaskellGADT/CFtoAbstractGADT.hs, nothing ) [64 of 85] Compiling BNFC.Backend.C.CFtoFlexC ( src/BNFC/Backend/C/CFtoFlexC.hs, nothing ) [65 of 85] Compiling BNFC.Backend.Java.CFtoJLex15 ( src/BNFC/Backend/Java/CFtoJLex15.hs, nothing ) [66 of 85] Compiling BNFC.Backend.C.CFtoCAbs ( src/BNFC/Backend/C/CFtoCAbs.hs, nothing ) src/BNFC/Backend/C/CFtoCAbs.hs:270:42: 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." | 270 | prInstVarsOneType ivars = text (fst (head ivars)) | ^^^^ [67 of 85] Compiling BNFC.Backend.C.CFtoBisonC ( src/BNFC/Backend/C/CFtoBisonC.hs, nothing ) src/BNFC/Backend/C/CFtoBisonC.hs:452:40: 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." | 452 | | otherwise = \ s -> if isUpper (head s) then "new " ++ s else sanitizeCpp s | ^^^^ src/BNFC/Backend/C/CFtoBisonC.hs:458:85: 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." | 458 | | isOneFun f -> concat ["$$ = ", "new ", scope, nt, "(); $$->push_back(", head ms, ");"] | ^^^^ [68 of 85] Compiling BNFC.Backend.Base ( src/BNFC/Backend/Base.hs, nothing ) [69 of 85] Compiling BNFC.Backend.XML ( src/BNFC/Backend/XML.hs, nothing ) [70 of 85] Compiling BNFC.Backend.TreeSitter ( src/BNFC/Backend/TreeSitter.hs, nothing ) [71 of 85] Compiling BNFC.Backend.Pygments ( src/BNFC/Backend/Pygments.hs, nothing ) [72 of 85] Compiling BNFC.Backend.Common.Makefile ( src/BNFC/Backend/Common/Makefile.hs, nothing ) [73 of 85] Compiling BNFC.Backend.Latex ( src/BNFC/Backend/Latex.hs, nothing ) [74 of 85] Compiling BNFC.Backend.Java ( src/BNFC/Backend/Java.hs, nothing ) src/BNFC/Backend/Java.hs:91:18: 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." | 91 | (head $ results lexmake) -- lexer class | ^^^^ src/BNFC/Backend/Java.hs:92:18: 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." | 92 | (head $ results parmake) -- parser class | ^^^^ src/BNFC/Backend/Java.hs:649:24: 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." | 649 | def = head eps | ^^^^ [75 of 85] Compiling BNFC.Backend.CPP.Makefile ( src/BNFC/Backend/CPP/Makefile.hs, nothing ) [76 of 85] Compiling BNFC.Backend.C ( src/BNFC/Backend/C.hs, nothing ) [77 of 85] Compiling BNFC.Backend.OCaml ( src/BNFC/Backend/OCaml.hs, nothing ) [78 of 85] Compiling BNFC.Backend.CPP.Common ( src/BNFC/Backend/CPP/Common.hs, nothing ) src/BNFC/Backend/CPP/Common.hs:66:26: 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." | 66 | | isUpper (head x) -> call ("new " ++ x) es | ^^^^ [79 of 85] Compiling BNFC.Backend.CPP.STL.CFtoSTLAbs ( src/BNFC/Backend/CPP/STL/CFtoSTLAbs.hs, nothing ) [80 of 85] Compiling BNFC.Backend.CPP.STL ( src/BNFC/Backend/CPP/STL.hs, nothing ) [81 of 85] Compiling BNFC.Backend.CPP.NoSTL.CFtoCPPAbs ( src/BNFC/Backend/CPP/NoSTL/CFtoCPPAbs.hs, nothing ) [82 of 85] Compiling BNFC.Backend.CPP.NoSTL ( src/BNFC/Backend/CPP/NoSTL.hs, nothing ) [83 of 85] Compiling BNFC.Backend.Agda ( src/BNFC/Backend/Agda.hs, nothing ) src/BNFC/Backend/Agda.hs:533:22: 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." | 533 | , pragmaData amod (head $ words d) haskellDataName cs | ^^^^ src/BNFC/Backend/Agda.hs:671:25: 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." | 671 | nameFor d = [ toLower $ head $ dropWhile (== '#') d ] | ^^^^ [84 of 85] Compiling BNFC.Backend.Haskell ( src/BNFC/Backend/Haskell.hs, nothing ) [85 of 85] Compiling BNFC.Backend.HaskellGADT ( src/BNFC/Backend/HaskellGADT.hs, nothing ) Haddock coverage: 17% ( 3 / 17) in 'BNFC.Abs' Missing documentation for: Grammar (src/BNFC/Abs.hs:15) Def (src/BNFC/Abs.hs:18) Item (src/BNFC/Abs.hs:37) Cat (src/BNFC/Abs.hs:40) Label (src/BNFC/Abs.hs:43) Arg (src/BNFC/Abs.hs:46) Separation (src/BNFC/Abs.hs:49) Exp (src/BNFC/Abs.hs:52) RHS (src/BNFC/Abs.hs:63) MinimumSize (src/BNFC/Abs.hs:66) Reg (src/BNFC/Abs.hs:69) Identifier (src/BNFC/Abs.hs:87) BNFC'NoPosition (src/BNFC/Abs.hs:95) BNFC'Position (src/BNFC/Abs.hs:98) 0% ( 0 / 6) in 'BNFC.Backend.CPP.STL.STLUtils' Missing documentation for: Module header nsDefine (src/BNFC/Backend/CPP/STL/STLUtils.hs:13) nsStart (src/BNFC/Backend/CPP/STL/STLUtils.hs:16) nsEnd (src/BNFC/Backend/CPP/STL/STLUtils.hs:19) nsScope (src/BNFC/Backend/CPP/STL/STLUtils.hs:22) nsString (src/BNFC/Backend/CPP/STL/STLUtils.hs:25) Warning: 'C' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'a' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'S' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: '\\' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 66% ( 2 / 3) in 'BNFC.Backend.Common.StrUtils' Missing documentation for: Module header 33% ( 1 / 3) in 'BNFC.Backend.Java.RegToAntlrLexer' Missing documentation for: Module header printRegJLex (src/BNFC/Backend/Java/RegToAntlrLexer.hs:12) 0% ( 0 / 2) in 'BNFC.Backend.TreeSitter.RegToJSReg' Missing documentation for: Module header printRegJSReg (src/BNFC/Backend/TreeSitter/RegToJSReg.hs:20) 35% ( 18 / 51) in 'BNFC.Lex' Missing documentation for: Module header alex_tab_size (dist/build/BNFC/Lex.hs:35) alex_base (dist/build/BNFC/Lex.hs:37) alex_table (dist/build/BNFC/Lex.hs:41) alex_check (dist/build/BNFC/Lex.hs:45) alex_deflt (dist/build/BNFC/Lex.hs:49) alex_accept (dist/build/BNFC/Lex.hs:52) alex_actions (dist/build/BNFC/Lex.hs:119) alex_action_3 (dist/build/BNFC/Lex.hs:133) alex_action_4 (dist/build/BNFC/Lex.hs:134) alex_action_5 (dist/build/BNFC/Lex.hs:135) alex_action_6 (dist/build/BNFC/Lex.hs:136) alex_action_7 (dist/build/BNFC/Lex.hs:137) alex_action_8 (dist/build/BNFC/Lex.hs:138) alex_action_9 (dist/build/BNFC/Lex.hs:139) AlexAddr (dist/build/BNFC/Lex.hs:183) alexIndexInt16OffAddr (dist/build/BNFC/Lex.hs:191) alexIndexInt32OffAddr (dist/build/BNFC/Lex.hs:212) quickIndex (dist/build/BNFC/Lex.hs:240) AlexReturn (dist/build/BNFC/Lex.hs:249) alexScan (dist/build/BNFC/Lex.hs:256) alexScanUser (dist/build/BNFC/Lex.hs:259) alex_scan_tkn (dist/build/BNFC/Lex.hs:290) AlexLastAcc (dist/build/BNFC/Lex.hs:344) AlexAcc (dist/build/BNFC/Lex.hs:349) Posn (src/BNFC/Lex.x:217) alexStartPos (src/BNFC/Lex.x:221) alexMove (src/BNFC/Lex.x:224) Byte (src/BNFC/Lex.x:228) AlexInput (src/BNFC/Lex.x:230) tokens (src/BNFC/Lex.x:236) alexGetByte (src/BNFC/Lex.x:247) alexInputPrevChar (src/BNFC/Lex.x:257) 0% ( 0 / 2) in 'BNFC.License' Missing documentation for: Module header license (src/BNFC/License.hs:10) 0% ( 0 / 27) in 'BNFC.Par' Missing documentation for: Module header happyError (dist/build/BNFC/Par.hs:1257) myLexer (dist/build/BNFC/Par.hs:1265) pGrammar (dist/build/BNFC/Par.hs:1179) pListDef (dist/build/BNFC/Par.hs:1182) pDef (dist/build/BNFC/Par.hs:1185) pItem (dist/build/BNFC/Par.hs:1188) pListItem (dist/build/BNFC/Par.hs:1191) pCat (dist/build/BNFC/Par.hs:1194) pListCat (dist/build/BNFC/Par.hs:1197) pLabel (dist/build/BNFC/Par.hs:1200) pArg (dist/build/BNFC/Par.hs:1203) pListArg (dist/build/BNFC/Par.hs:1206) pSeparation (dist/build/BNFC/Par.hs:1209) pListString (dist/build/BNFC/Par.hs:1212) pExp (dist/build/BNFC/Par.hs:1215) pExp1 (dist/build/BNFC/Par.hs:1218) pExp2 (dist/build/BNFC/Par.hs:1221) pListExp (dist/build/BNFC/Par.hs:1224) pListExp2 (dist/build/BNFC/Par.hs:1227) pRHS (dist/build/BNFC/Par.hs:1230) pListRHS (dist/build/BNFC/Par.hs:1233) pMinimumSize (dist/build/BNFC/Par.hs:1236) pReg (dist/build/BNFC/Par.hs:1239) pReg1 (dist/build/BNFC/Par.hs:1242) pReg2 (dist/build/BNFC/Par.hs:1245) pReg3 (dist/build/BNFC/Par.hs:1248) Warning: BNFC.PrettyPrint: Could not find documentation for exported module: BNFC.PrettyPrint 100% ( 11 / 11) in 'BNFC.PrettyPrint' 0% ( 0 / 2) in 'BNFC.Backend.Haskell.MkErrM' Missing documentation for: Module header mkErrM (src/BNFC/Backend/Haskell/MkErrM.hs:16) 23% ( 3 / 13) in 'BNFC.Print' Missing documentation for: Doc (src/BNFC/Print.hs:27) doc (src/BNFC/Print.hs:30) render (src/BNFC/Print.hs:33) parenth (src/BNFC/Print.hs:92) concatS (src/BNFC/Print.hs:95) concatD (src/BNFC/Print.hs:98) replicateS (src/BNFC/Print.hs:101) printString (src/BNFC/Print.hs:118) mkEsc (src/BNFC/Print.hs:121) prPrec (src/BNFC/Print.hs:129) 100% ( 3 / 3) in 'BNFC.Regex' Warning: 'forM' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 91% ( 41 / 45) in 'BNFC.Utils' Missing documentation for: Module header camelCase_ (src/BNFC/Utils.hs:469) snakeCase_ (src/BNFC/Utils.hs:486) getZonedTimeTruncatedToSeconds (src/BNFC/Utils.hs:252) Warning: 'partitionEithers' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'define' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'ListC' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'Rule' is ambiguous. It is defined * at src/BNFC/CF.hs:64:21 * at src/BNFC/CF.hs:59: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/BNFC/CF.hs:59:1 Warning: 'comment' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 58% ( 73 /125) in 'BNFC.CF' Missing documentation for: Module header List1 (src/BNFC/CF.hs:45) InternalRule (src/BNFC/CF.hs:79) Base' (src/BNFC/CF.hs:117) Exp (src/BNFC/CF.hs:153) Define (src/BNFC/CF.hs:188) LayoutKeyWords (src/BNFC/CF.hs:212) layoutPragmas (src/BNFC/CF.hs:231) hasLayout_ (src/BNFC/CF.hs:240) hasLayout (src/BNFC/CF.hs:243) Symbol (src/BNFC/CF.hs:248) KeyWord (src/BNFC/CF.hs:249) prettyPosition (src/BNFC/CF.hs:265) WithPosition (src/BNFC/CF.hs:269) noPosition (src/BNFC/CF.hs:281) RCat (src/BNFC/CF.hs:294) valCat (src/BNFC/CF.hs:297) npRule (src/BNFC/CF.hs:300) npIdentifier (src/BNFC/CF.hs:303) TokenCat (src/BNFC/CF.hs:323) BaseCat (src/BNFC/CF.hs:324) NonTerminal (src/BNFC/CF.hs:327) catString (src/BNFC/CF.hs:370) catInteger (src/BNFC/CF.hs:371) catDouble (src/BNFC/CF.hs:372) catChar (src/BNFC/CF.hs:373) catIdent (src/BNFC/CF.hs:374) specialCatsP (src/BNFC/CF.hs:383) isDataOrListCat (src/BNFC/CF.hs:390) normCatOfList (src/BNFC/CF.hs:412) identType (src/BNFC/CF.hs:422) isList (src/BNFC/CF.hs:435) isTokenCat (src/BNFC/CF.hs:447) maybeTokenCat (src/BNFC/CF.hs:451) RFun (src/BNFC/CF.hs:467) IsFun (src/BNFC/CF.hs:472) funNameSatisfies (src/BNFC/CF.hs:502) isDefinedRule (src/BNFC/CF.hs:505) isProperLabel (src/BNFC/CF.hs:511) isNilCons (src/BNFC/CF.hs:514) lookupRule (src/BNFC/CF.hs:553) removeWhiteSpaceSeparators (src/BNFC/CF.hs:563) allParserCats (src/BNFC/CF.hs:592) cf2data (src/BNFC/CF.hs:699) cf2dataLists (src/BNFC/CF.hs:703) specialData (src/BNFC/CF.hs:706) hasNilRule (src/BNFC/CF.hs:718) isNonterm (src/BNFC/CF.hs:734) revSepListRule (src/BNFC/CF.hs:739) findAllReversibleCats (src/BNFC/CF.hs:744) isEmptyNilRule (src/BNFC/CF.hs:755) precRule (src/BNFC/CF.hs:767) 54% ( 6 / 11) in 'BNFC.TypeChecker' Missing documentation for: runTypeChecker (src/BNFC/TypeChecker.hs:54) checkDefinition' (src/BNFC/TypeChecker.hs:98) buildContext (src/BNFC/TypeChecker.hs:191) isToken (src/BNFC/TypeChecker.hs:198) ListConstructors (src/BNFC/TypeChecker.hs:64) Warning: '\\' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'e'' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 20% ( 1 / 5) in 'BNFC.Lexing' Missing documentation for: Module header mkLexer (src/BNFC/Lexing.hs:26) LexType (src/BNFC/Lexing.hs:23) debugPrint (src/BNFC/Lexing.hs:19) 100% ( 2 / 2) in 'BNFC.Check.EmptyTypes' 71% ( 20 / 28) in 'BNFC.Backend.TreeSitter.CFtoTreeSitter' Missing documentation for: Module header prUsrTokenRules (src/BNFC/Backend/TreeSitter/CFtoTreeSitter.hs:149) appendComma (src/BNFC/Backend/TreeSitter/CFtoTreeSitter.hs:189) commaJoin (src/BNFC/Backend/TreeSitter/CFtoTreeSitter.hs:192) wrapSeq (src/BNFC/Backend/TreeSitter/CFtoTreeSitter.hs:201) wrapChoice (src/BNFC/Backend/TreeSitter/CFtoTreeSitter.hs:204) wrapFun (src/BNFC/Backend/TreeSitter/CFtoTreeSitter.hs:215) quoted (src/BNFC/Backend/TreeSitter/CFtoTreeSitter.hs:231) 0% ( 0 / 9) in 'BNFC.Backend.Common.OOAbstract' Missing documentation for: Module header CAbs (src/BNFC/Backend/Common/OOAbstract.hs:28) CAbsRule (src/BNFC/Backend/Common/OOAbstract.hs:39) allClasses (src/BNFC/Backend/Common/OOAbstract.hs:43) allNonClasses (src/BNFC/Backend/Common/OOAbstract.hs:48) cf2cabs (src/BNFC/Backend/Common/OOAbstract.hs:52) basetypes (src/BNFC/Backend/Common/OOAbstract.hs:90) classVar (src/BNFC/Backend/Common/OOAbstract.hs:99) pointerIf (src/BNFC/Backend/Common/OOAbstract.hs:102) 38% ( 5 / 13) in 'BNFC.Backend.Common.NamedVariables' Missing documentation for: Module header IVar (src/BNFC/Backend/Common/NamedVariables.hs:66) UserDef (src/BNFC/Backend/Common/NamedVariables.hs:70) SymKey (src/BNFC/Backend/Common/NamedVariables.hs:80) fixCoercions (src/BNFC/Backend/Common/NamedVariables.hs:134) varName (src/BNFC/Backend/Common/NamedVariables.hs:150) showNum (src/BNFC/Backend/Common/NamedVariables.hs:154) firstLowerCase (src/BNFC/Backend/Common/NamedVariables.hs:158) 50% ( 1 / 2) in 'BNFC.Backend.Java.CFtoAntlr4Lexer' Missing documentation for: Module header 100% ( 3 / 3) in 'BNFC.Backend.C.Common' 0% ( 0 / 3) in 'BNFC.Backend.Txt2Tag' Missing documentation for: Module header cfToTxt (src/BNFC/Backend/Txt2Tag.hs:19) t2tComment (src/BNFC/Backend/Txt2Tag.hs:236) 50% ( 3 / 6) in 'BNFC.Backend.Java.Utils' Missing documentation for: Module header javaReserved (src/BNFC/Backend/Java/Utils.hs:13) getLabelName (src/BNFC/Backend/Java/Utils.hs:80) 0% ( 0 / 2) in 'BNFC.Backend.Java.CFtoAllVisitor' Missing documentation for: Module header cf2AllVisitor (src/BNFC/Backend/Java/CFtoAllVisitor.hs:17) 0% ( 0 / 2) in 'BNFC.Backend.Java.CFtoAbstractVisitor' Missing documentation for: Module header cf2AbstractVisitor (src/BNFC/Backend/Java/CFtoAbstractVisitor.hs:15) 0% ( 0 / 4) in 'BNFC.Backend.Haskell.CFtoLayout' Missing documentation for: Module header TokSymbol (src/BNFC/Backend/Haskell/CFtoLayout.hs:18) LayoutDelimiters (src/BNFC/Backend/Haskell/CFtoLayout.hs:21) cf2Layout (src/BNFC/Backend/Haskell/CFtoLayout.hs:25) 40% ( 2 / 5) in 'BNFC.Backend.Common' Missing documentation for: unicodeAndSymbols (src/BNFC/Backend/Common.hs:29) asciiKeywords (src/BNFC/Backend/Common.hs:32) switchByPrecedence (src/BNFC/Backend/Common.hs:71) 0% ( 0 / 2) in 'BNFC.Backend.C.RegToFlex' Missing documentation for: Module header printRegFlex (src/BNFC/Backend/C/RegToFlex.hs:15) 0% ( 0 / 3) in 'BNFC.Backend.CPP.PrettyPrinter' Missing documentation for: Module header cf2CPPPrinter (src/BNFC/Backend/CPP/PrettyPrinter.hs:39) prRender (src/BNFC/Backend/CPP/PrettyPrinter.hs:690) 0% ( 0 / 6) in 'BNFC.Backend.CPP.Naming' Missing documentation for: Module header cReservedWords (src/BNFC/Backend/CPP/Naming.hs:6) cppReservedWords (src/BNFC/Backend/CPP/Naming.hs:12) mkVariable (src/BNFC/Backend/CPP/Naming.hs:21) sanitizeC (src/BNFC/Backend/CPP/Naming.hs:24) sanitizeCpp (src/BNFC/Backend/CPP/Naming.hs:27) 0% ( 0 / 2) in 'BNFC.Backend.CPP.STL.CFtoCVisitSkelSTL' Missing documentation for: Module header cf2CVisitSkel (src/BNFC/Backend/CPP/STL/CFtoCVisitSkelSTL.hs:27) 0% ( 0 / 2) in 'BNFC.Backend.C.CFtoCSkel' Missing documentation for: Module header cf2CSkel (src/BNFC/Backend/C/CFtoCSkel.hs:30) 50% ( 1 / 2) in 'BNFC.Backend.C.CFtoCPrinter' Missing documentation for: Module header 68% ( 15 / 22) in 'BNFC.Options' Missing documentation for: Module header Backend (src/BNFC/Options.hs:153) usage (src/BNFC/Options.hs:440) help (src/BNFC/Options.hs:448) versionString (src/BNFC/Options.hs:420) defaultOptions (src/BNFC/Options.hs:158) removedIn290 (src/BNFC/Options.hs:624) Warning: 'rules' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 80% ( 4 / 5) in 'BNFC.GetCF' Missing documentation for: checkRule (src/BNFC/GetCF.hs:586) 38% ( 5 / 13) in 'BNFC.Backend.OCaml.OCamlUtil' Missing documentation for: Module header fixType (src/BNFC/Backend/OCaml/OCamlUtil.hs:33) fixTypeQual (src/BNFC/Backend/OCaml/OCamlUtil.hs:37) fixTypeUpper (src/BNFC/Backend/OCaml/OCamlUtil.hs:52) reservedOCaml (src/BNFC/Backend/OCaml/OCamlUtil.hs:55) mkTuple (src/BNFC/Backend/OCaml/OCamlUtil.hs:95) insertBar (src/BNFC/Backend/OCaml/OCamlUtil.hs:100) mutualDefs (src/BNFC/Backend/OCaml/OCamlUtil.hs:105) 0% ( 0 / 2) in 'BNFC.Backend.OCaml.CFtoOCamlTemplate' Missing documentation for: Module header cf2Template (src/BNFC/Backend/OCaml/CFtoOCamlTemplate.hs:23) 0% ( 0 / 3) in 'BNFC.Backend.OCaml.CFtoOCamlShow' Missing documentation for: Module header cf2show (src/BNFC/Backend/OCaml/CFtoOCamlShow.hs:23) showsFunQual (src/BNFC/Backend/OCaml/CFtoOCamlShow.hs:138) 0% ( 0 / 2) in 'BNFC.Backend.OCaml.CFtoOCamlAbs' Missing documentation for: Module header cf2Abstract (src/BNFC/Backend/OCaml/CFtoOCamlAbs.hs:22) 25% ( 1 / 4) in 'BNFC.Backend.OCaml.CFtoOCamlYacc' Missing documentation for: Module header cf2ocamlyacc (src/BNFC/Backend/OCaml/CFtoOCamlYacc.hs:35) epName (src/BNFC/Backend/OCaml/CFtoOCamlYacc.hs:140) 0% ( 0 / 2) in 'BNFC.Backend.OCaml.CFtoOCamlLex' Missing documentation for: Module header cf2ocamllex (src/BNFC/Backend/OCaml/CFtoOCamlLex.hs:30) 33% ( 1 / 3) in 'BNFC.Backend.Java.RegToJLex' Missing documentation for: Module header escapeChar (src/BNFC/Backend/Java/RegToJLex.hs:29) Warning: 'pathSeparator' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 75% ( 3 / 4) in 'BNFC.Backend.Java.CFtoJavaAbs15' Missing documentation for: Module header 0% ( 0 / 2) in 'BNFC.Backend.Java.CFtoVisitSkel15' Missing documentation for: Module header cf2VisitSkel (src/BNFC/Backend/Java/CFtoVisitSkel15.hs:37) 0% ( 0 / 2) in 'BNFC.Backend.Java.CFtoJavaPrinter15' Missing documentation for: Module header cf2JavaPrinter (src/BNFC/Backend/Java/CFtoJavaPrinter15.hs:52) 0% ( 0 / 2) in 'BNFC.Backend.Java.CFtoFoldVisitor' Missing documentation for: Module header cf2FoldVisitor (src/BNFC/Backend/Java/CFtoFoldVisitor.hs:22) 0% ( 0 / 2) in 'BNFC.Backend.Java.CFtoComposVisitor' Missing documentation for: Module header cf2ComposVisitor (src/BNFC/Backend/Java/CFtoComposVisitor.hs:24) 0% ( 0 / 2) in 'BNFC.Backend.Java.CFtoCup15' Missing documentation for: Module header cf2Cup (src/BNFC/Backend/Java/CFtoCup15.hs:35) Warning: 'PDef' is ambiguous. It is defined * at src/BNFC/Backend/Java/CFtoAntlr4Parser.hs:33:13 * at src/BNFC/Backend/Java/CFtoAntlr4Parser.hs:33: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/BNFC/Backend/Java/CFtoAntlr4Parser.hs:33:1 Warning: 'pdCat' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 50% ( 1 / 2) in 'BNFC.Backend.Java.CFtoAntlr4Parser' Missing documentation for: Module header 43% ( 10 / 23) in 'BNFC.Backend.Haskell.Utils' Missing documentation for: Module header posType (src/BNFC/Backend/Haskell/Utils.hs:47) posConstr (src/BNFC/Backend/Haskell/Utils.hs:48) noPosConstr (src/BNFC/Backend/Haskell/Utils.hs:49) hasPositionClass (src/BNFC/Backend/Haskell/Utils.hs:55) hasPositionMethod (src/BNFC/Backend/Haskell/Utils.hs:56) noWarnUnusedMatches (src/BNFC/Backend/Haskell/Utils.hs:41) typeToHaskell' (src/BNFC/Backend/Haskell/Utils.hs:213) tokenTextImport (src/BNFC/Backend/Haskell/Utils.hs:61) tokenTextType (src/BNFC/Backend/Haskell/Utils.hs:67) tokenTextPack (src/BNFC/Backend/Haskell/Utils.hs:73) tokenTextPackParens (src/BNFC/Backend/Haskell/Utils.hs:79) tokenTextUnpack (src/BNFC/Backend/Haskell/Utils.hs:88) 25% ( 1 / 4) in 'BNFC.Backend.HaskellGADT.HaskellGADTCommon' Missing documentation for: Module header Constructor (src/BNFC/Backend/HaskellGADT/HaskellGADTCommon.hs:13) isTreeType (src/BNFC/Backend/HaskellGADT/HaskellGADTCommon.hs:51) 0% ( 0 / 2) in 'BNFC.Backend.HaskellGADT.CFtoTemplateGADT' Missing documentation for: Module header cf2Template (src/BNFC/Backend/HaskellGADT/CFtoTemplateGADT.hs:19) 0% ( 0 / 2) in 'BNFC.Backend.Haskell.CFtoTemplate' Missing documentation for: Module header cf2Template (src/BNFC/Backend/Haskell/CFtoTemplate.hs:19) 10% ( 4 / 40) in 'BNFC.Backend.Haskell.HsOpts' Missing documentation for: Module header Options (src/BNFC/Backend/Haskell/HsOpts.hs:9) absFile (src/BNFC/Backend/Haskell/HsOpts.hs:22) absFileM (src/BNFC/Backend/Haskell/HsOpts.hs:23) alexFile (src/BNFC/Backend/Haskell/HsOpts.hs:24) alexFileHs (src/BNFC/Backend/Haskell/HsOpts.hs:25) alexFileM (src/BNFC/Backend/Haskell/HsOpts.hs:26) happyFile (src/BNFC/Backend/Haskell/HsOpts.hs:27) happyFileHs (src/BNFC/Backend/Haskell/HsOpts.hs:28) happyFileM (src/BNFC/Backend/Haskell/HsOpts.hs:29) txtFile (src/BNFC/Backend/Haskell/HsOpts.hs:30) templateFile (src/BNFC/Backend/Haskell/HsOpts.hs:31) templateFileM (src/BNFC/Backend/Haskell/HsOpts.hs:32) printerFile (src/BNFC/Backend/Haskell/HsOpts.hs:33) printerFileM (src/BNFC/Backend/Haskell/HsOpts.hs:34) tFile (src/BNFC/Backend/Haskell/HsOpts.hs:35) tFileExe (src/BNFC/Backend/Haskell/HsOpts.hs:36) errFile (src/BNFC/Backend/Haskell/HsOpts.hs:37) errFileM (src/BNFC/Backend/Haskell/HsOpts.hs:38) layoutFileM (src/BNFC/Backend/Haskell/HsOpts.hs:39) layoutFile (src/BNFC/Backend/Haskell/HsOpts.hs:40) xmlFile (src/BNFC/Backend/Haskell/HsOpts.hs:41) xmlFileM (src/BNFC/Backend/Haskell/HsOpts.hs:42) composOpFile (src/BNFC/Backend/Haskell/HsOpts.hs:43) composOpFileM (src/BNFC/Backend/Haskell/HsOpts.hs:44) agdaASTFile (src/BNFC/Backend/Haskell/HsOpts.hs:57) agdaASTFileM (src/BNFC/Backend/Haskell/HsOpts.hs:58) agdaParserFile (src/BNFC/Backend/Haskell/HsOpts.hs:59) agdaParserFileM (src/BNFC/Backend/Haskell/HsOpts.hs:60) agdaLibFile (src/BNFC/Backend/Haskell/HsOpts.hs:61) agdaLibFileM (src/BNFC/Backend/Haskell/HsOpts.hs:62) agdaMainFile (src/BNFC/Backend/Haskell/HsOpts.hs:63) agdaMainFileM (src/BNFC/Backend/Haskell/HsOpts.hs:64) noLang (src/BNFC/Backend/Haskell/HsOpts.hs:68) withLang (src/BNFC/Backend/Haskell/HsOpts.hs:71) pkgToDir (src/BNFC/Backend/Haskell/HsOpts.hs:74) Warning: 'Prelude'' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 66% ( 2 / 3) in 'BNFC.Backend.Haskell.CFtoPrinter' Missing documentation for: Module header 0% ( 0 / 3) in 'BNFC.Backend.OCaml.CFtoOCamlPrinter' Missing documentation for: Module header cf2Printer (src/BNFC/Backend/OCaml/CFtoOCamlPrinter.hs:28) prtFun (src/BNFC/Backend/OCaml/CFtoOCamlPrinter.hs:263) 66% ( 2 / 3) in 'BNFC.Backend.OCaml.CFtoOCamlTest' Missing documentation for: Module header 33% ( 1 / 3) in 'BNFC.Backend.Haskell.CFtoHappy' Missing documentation for: Module header convert (src/BNFC/Backend/Haskell/CFtoHappy.hs:132) 0% ( 0 / 2) in 'BNFC.Backend.Haskell.CFtoAlex3' Missing documentation for: Module header cf2alex3 (src/BNFC/Backend/Haskell/CFtoAlex3.hs:28) 80% ( 4 / 5) in 'BNFC.Backend.Haskell.CFtoAbstract' Missing documentation for: Module header 0% ( 0 / 2) in 'BNFC.Backend.HaskellGADT.CFtoAbstractGADT' Missing documentation for: Module header cf2Abstract (src/BNFC/Backend/HaskellGADT/CFtoAbstractGADT.hs:22) 42% ( 6 / 14) in 'BNFC.Backend.C.CFtoFlexC' Missing documentation for: Module header ParserMode (src/BNFC/Backend/C/CFtoFlexC.hs:45) parserName (src/BNFC/Backend/C/CFtoFlexC.hs:50) parserPackage (src/BNFC/Backend/C/CFtoFlexC.hs:55) cParser (src/BNFC/Backend/C/CFtoFlexC.hs:60) stlParser (src/BNFC/Backend/C/CFtoFlexC.hs:65) parserHExt (src/BNFC/Backend/C/CFtoFlexC.hs:70) cMacros (src/BNFC/Backend/C/CFtoFlexC.hs:185) 50% ( 1 / 2) in 'BNFC.Backend.Java.CFtoJLex15' Missing documentation for: Module header 50% ( 1 / 2) in 'BNFC.Backend.C.CFtoCAbs' Missing documentation for: Module header 37% ( 3 / 8) in 'BNFC.Backend.C.CFtoBisonC' Missing documentation for: Module header cf2Bison (src/BNFC/Backend/C/CFtoBisonC.hs:55) resultName (src/BNFC/Backend/C/CFtoBisonC.hs:516) typeName (src/BNFC/Backend/C/CFtoBisonC.hs:527) unionBuiltinTokens (src/BNFC/Backend/C/CFtoBisonC.hs:315) 88% ( 8 / 9) in 'BNFC.Backend.Base' Missing documentation for: Backend (src/BNFC/Backend/Base.hs:49) 2% ( 1 / 41) in 'BNFC.Backend.XML' Missing documentation for: Module header Coding (src/BNFC/Backend/XML.hs:30) makeXML (src/BNFC/Backend/XML.hs:33) cf2DTD (src/BNFC/Backend/XML.hs:41) comment (src/BNFC/Backend/XML.hs:54) element (src/BNFC/Backend/XML.hs:62) attlist (src/BNFC/Backend/XML.hs:65) elemAtt (src/BNFC/Backend/XML.hs:67) elemt (src/BNFC/Backend/XML.hs:68) elemc (src/BNFC/Backend/XML.hs:71) elemEmp (src/BNFC/Backend/XML.hs:74) alts (src/BNFC/Backend/XML.hs:77) elemData (src/BNFC/Backend/XML.hs:81) efunDef (src/BNFC/Backend/XML.hs:82) endtagDef (src/BNFC/Backend/XML.hs:83) elemDataConstrs (src/BNFC/Backend/XML.hs:89) efunDefConstrs (src/BNFC/Backend/XML.hs:92) endtagDefConstrs (src/BNFC/Backend/XML.hs:95) elemDataConstr (src/BNFC/Backend/XML.hs:101) efunDefConstr (src/BNFC/Backend/XML.hs:102) endtagDefConstr (src/BNFC/Backend/XML.hs:103) elemDataNotyp (src/BNFC/Backend/XML.hs:109) efunDefNotyp (src/BNFC/Backend/XML.hs:110) endtagDefNotyp (src/BNFC/Backend/XML.hs:111) rhsCat (src/BNFC/Backend/XML.hs:121) rhsCatNot (src/BNFC/Backend/XML.hs:122) symbCat (src/BNFC/Backend/XML.hs:125) symbCatNot (src/BNFC/Backend/XML.hs:130) parenth (src/BNFC/Backend/XML.hs:140) cf2XMLPrinter (src/BNFC/Backend/XML.hs:144) pragmas (src/BNFC/Backend/XML.hs:157) prologue (src/BNFC/Backend/XML.hs:163) integerRule (src/BNFC/Backend/XML.hs:211) doubleRule (src/BNFC/Backend/XML.hs:212) stringRule (src/BNFC/Backend/XML.hs:213) showsPrintRule (src/BNFC/Backend/XML.hs:215) identRule (src/BNFC/Backend/XML.hs:220) ownPrintRule (src/BNFC/Backend/XML.hs:223) rules (src/BNFC/Backend/XML.hs:231) case_fun (src/BNFC/Backend/XML.hs:241) 33% ( 1 / 3) in 'BNFC.Backend.TreeSitter' Missing documentation for: Module header comment (src/BNFC/Backend/TreeSitter.hs:30) Warning: 'a' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'b' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'c' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 16% ( 1 / 6) in 'BNFC.Backend.Pygments' Missing documentation for: Module header makePygments (src/BNFC/Backend/Pygments.hs:24) comment (src/BNFC/Backend/Pygments.hs:32) setup (src/BNFC/Backend/Pygments.hs:35) lexer (src/BNFC/Backend/Pygments.hs:53) 80% ( 4 / 5) in 'BNFC.Backend.Common.Makefile' Missing documentation for: Module header 11% ( 4 / 34) in 'BNFC.Backend.Latex' Missing documentation for: Module header comment (src/BNFC/Backend/Latex.hs:62) introduction (src/BNFC/Backend/Latex.hs:78) prtTerminals (src/BNFC/Backend/Latex.hs:87) identSection (src/BNFC/Backend/Latex.hs:102) prtIdentifiers (src/BNFC/Backend/Latex.hs:107) prtLiterals (src/BNFC/Backend/Latex.hs:114) stringLit (src/BNFC/Backend/Latex.hs:118) prtOwnToken (src/BNFC/Backend/Latex.hs:141) prtComments (src/BNFC/Backend/Latex.hs:149) prtSymb (src/BNFC/Backend/Latex.hs:165) prtReserved (src/BNFC/Backend/Latex.hs:172) stringRes (src/BNFC/Backend/Latex.hs:179) prtBNF (src/BNFC/Backend/Latex.hs:199) prtRules (src/BNFC/Backend/Latex.hs:210) prtSymbols (src/BNFC/Backend/Latex.hs:219) prt (src/BNFC/Backend/Latex.hs:226) macros (src/BNFC/Backend/Latex.hs:235) reserved (src/BNFC/Backend/Latex.hs:247) literal (src/BNFC/Backend/Latex.hs:250) empty (src/BNFC/Backend/Latex.hs:253) symbol (src/BNFC/Backend/Latex.hs:256) tabular (src/BNFC/Backend/Latex.hs:259) terminal (src/BNFC/Backend/Latex.hs:264) nonterminal (src/BNFC/Backend/Latex.hs:267) arrow (src/BNFC/Backend/Latex.hs:275) delimiter (src/BNFC/Backend/Latex.hs:278) beginDocument (src/BNFC/Backend/Latex.hs:281) endDocument (src/BNFC/Backend/Latex.hs:298) latexRegExp (src/BNFC/Backend/Latex.hs:304) 100% ( 2 / 2) in 'BNFC.Backend.Java' 0% ( 0 / 2) in 'BNFC.Backend.CPP.Makefile' Missing documentation for: Module header makefile (src/BNFC/Backend/CPP/Makefile.hs:9) 66% ( 4 / 6) in 'BNFC.Backend.C' Missing documentation for: Module header makeC (src/BNFC/Backend/C.hs:30) 0% ( 0 / 2) in 'BNFC.Backend.OCaml' Missing documentation for: Module header makeOCaml (src/BNFC/Backend/OCaml.hs:78) 100% ( 3 / 3) in 'BNFC.Backend.CPP.Common' 0% ( 0 / 2) in 'BNFC.Backend.CPP.STL.CFtoSTLAbs' Missing documentation for: Module header cf2CPPAbs (src/BNFC/Backend/CPP/STL/CFtoSTLAbs.hs:35) 0% ( 0 / 2) in 'BNFC.Backend.CPP.STL' Missing documentation for: Module header makeCppStl (src/BNFC/Backend/CPP/STL.hs:30) 0% ( 0 / 2) in 'BNFC.Backend.CPP.NoSTL.CFtoCPPAbs' Missing documentation for: Module header cf2CPPAbs (src/BNFC/Backend/CPP/NoSTL/CFtoCPPAbs.hs:38) 0% ( 0 / 2) in 'BNFC.Backend.CPP.NoSTL' Missing documentation for: Module header makeCppNoStl (src/BNFC/Backend/CPP/NoSTL.hs:25) Warning: 'Cat' is ambiguous. It is defined * at src/BNFC/CF.hs:317:5 * at src/BNFC/CF.hs:316: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/BNFC/CF.hs:316:1 100% ( 2 / 2) in 'BNFC.Backend.Agda' 60% ( 3 / 5) in 'BNFC.Backend.Haskell' Missing documentation for: Module header testfile (src/BNFC/Backend/Haskell.hs:300) 0% ( 0 / 2) in 'BNFC.Backend.HaskellGADT' Missing documentation for: Module header makeHaskellGadt (src/BNFC/Backend/HaskellGADT.hs:32) Warning: BNFC.Par: could not find link destinations for: - BNFC.Par.Err Warning: BNFC.Utils: could not find link destinations for: - BNFC.Utils.List1 Warning: BNFC.TypeChecker: could not find link destinations for: - BNFC.TypeChecker.Context - BNFC.TypeChecker.Err Warning: BNFC.Options: could not find link destinations for: - BNFC.Options.UsageWarnings - BNFC.Options.ParseOpt Warning: BNFC.GetCF: could not find link destinations for: - BNFC.GetCF.Err Warning: BNFC.Backend.OCaml.CFtoOCamlTemplate: could not find link destinations for: - BNFC.Backend.OCaml.CFtoOCamlTemplate.ModuleName Warning: BNFC.Backend.Haskell.CFtoPrinter: could not find link destinations for: - BNFC.Backend.Haskell.CFtoPrinter.AbsMod Warning: BNFC.Backend.Base: could not find link destinations for: - BNFC.Backend.Base.FileContent Documentation created: dist/doc/html/BNFC/, dist/doc/html/BNFC/BNFC.txt Preprocessing executable 'bnfc' for BNFC-2.9.6.1.. Installing library in /var/lib/hackage-doc-builder/build-cache/tmp-install/lib/x86_64-linux-ghc-9.8.4/BNFC-2.9.6.1-6yl1dl2ElgNGcgYR0q546H Installing executable bnfc in /var/lib/hackage-doc-builder/build-cache/tmp-install/bin Warning: The directory /var/lib/hackage-doc-builder/build-cache/tmp-install/bin is not in the system search path. Completed BNFC-2.9.6.1