Skip to content

Commit 5e6912b

Browse files
committed
Fixes (cabal, stack, pattern synonym)
1 parent 6496f5d commit 5e6912b

File tree

5 files changed

+17
-7
lines changed

5 files changed

+17
-7
lines changed

Data/Unicode/Internal/Char/DerivedNormalizationProperties.hs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
module Data.Unicode.Internal.Char.DerivedNormalizationProperties
1313
( pattern YesStarter
1414
, pattern MaybeStarterNoDecomp
15-
, pattern Decomposable, pattern Combining
15+
, pattern Decomposable
16+
, pattern Combining
1617
, isNFKC_QC, isNFKD_QC, isNFC_QC, isNFD_QC)
1718
where
1819

@@ -25,8 +26,10 @@ pattern MaybeStarterNoDecomp = 2
2526
pattern YesStarter :: Int
2627
pattern YesStarter = 3
2728

28-
pattern Decomposable, Combining :: Int
29+
pattern Decomposable :: Int
2930
pattern Decomposable = 0
31+
32+
pattern Combining :: Int
3033
pattern Combining = 1
3134

3235
{-# INLINE isNFKC_QC #-}

stack.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,12 @@ packages:
22
- '.'
33
resolver: lts-18.18
44
extra-deps:
5-
- unicode-data-0.2.0
5+
# [TODO] re-enable once unicode-data is released with quick check
6+
# - unicode-data-XXX
7+
- git: https://github.com/composewell/unicode-data.git
8+
commit: dffcca331e4c8479c75983cfc8ce2591e9bad601
9+
subdirs:
10+
- unicode-data
611
- tasty-bench-0.3
712

813
# Look at https://stackoverflow.com/questions/70045586/could-not-find-module-system-console-mintty-win32-when-compiling-test-framework

ucd2haskell/Parser/Text.hs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,8 @@ genNormalizationPropertiesModule moduleName =
210210
, "( pattern YesStarter"
211211
-- , ", pattern MaybeCombiningStarter, pattern MaybeStarterNoDecomp"
212212
, ", pattern MaybeStarterNoDecomp"
213-
, ", pattern Decomposable, pattern Combining"
213+
, ", pattern Decomposable"
214+
, ", pattern Combining"
214215
-- , "( pattern Decomposable, pattern Combining, pattern CombiningStarter"
215216
-- , ", pattern Starter, pattern Stable"
216217
, ", " <> mconcat (intersperse ", " (prop2FuncName <$> exports)) <> ")"
@@ -239,8 +240,10 @@ genNormalizationPropertiesModule moduleName =
239240
, "pattern YesStarter = " <> show yesStarter
240241
-- , "pattern YesStable = " <> show yesStable
241242
, ""
242-
, "pattern Decomposable, Combining :: Int"
243+
, "pattern Decomposable :: Int"
243244
, "pattern Decomposable = " <> show decomposable
245+
, ""
246+
, "pattern Combining :: Int"
244247
, "pattern Combining = " <> show combining
245248
, ""
246249
, mconcat bitmaps

ucd2haskell/ucd2haskell.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cabal-version: 3.4
1+
cabal-version: 3.0
22
name: ucd2haskell
33
version: 0.1.0.0
44
-- synopsis:

unicode-transforms.cabal

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ extra-source-files:
2828
MAINTAINING.md
2929
NOTES.md
3030
README.md
31-
download-ucd-files.sh
3231
benchmark/README.md
3332
benchmark/NormalizeFile.hs
3433
benchmark/data/AllChars.txt

0 commit comments

Comments
 (0)