From ef7ddd7348070a9149d162217280c0a50f2b213d Mon Sep 17 00:00:00 2001 From: Pierre Le Marre Date: Tue, 17 May 2022 06:56:56 +0200 Subject: Pure Haskell implementation of GHC.Unicode Switch to a pure Haskell implementation of base:GHC.Unicode, based on the implementation of the package unicode-data (https://github.com/composewell/unicode-data/). Approved by CLC as per https://github.com/haskell/core-libraries-committee/issues/59#issuecomment-1132106691. - Remove current Unicode cbits. - Add generator for Unicode property files from Unicode Character Database. - Generate internal modules. - Update GHC.Unicode. - Add unicode003 test for general categories and case mappings. - Add Python scripts to check 'base' Unicode tests outputs and characters properties. Fixes #21375 ------------------------- Metric Decrease: T16875 Metric Increase: T4029 T18304 haddock.base ------------------------- --- linters/lint-whitespace/Main.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linters') diff --git a/linters/lint-whitespace/Main.hs b/linters/lint-whitespace/Main.hs index f1657c4f40..6829e822d6 100644 --- a/linters/lint-whitespace/Main.hs +++ b/linters/lint-whitespace/Main.hs @@ -251,7 +251,7 @@ hasSuffix fn = any (`T.isSuffixOf` fn) suffixes suffixes = T.words ".hs .hsc .lhs .cabal .c .h .lhs-boot .hs-boot .x .y" autogenFiles :: [ Text ] -autogenFiles = [ "WCsubst.c", "iconv.c", "Table.hs" ] +autogenFiles = [ "iconv.c", "Table.hs" ] ignoredPrefixes :: [Text] ignoredPrefixes = [ "testsuite/", "libraries/base/tests" -- cgit v1.2.1