summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleksandrZhabenko <>2020-07-31 20:11:00 (GMT)
committerhdiff <hdiff@hdiff.luite.com>2020-07-31 20:11:00 (GMT)
commit1ab0fc8521d844cc22db610aa41deb3325ef9fed (patch)
treed15f1f30a97b3cf517c12cf66e9ccd6b03368b69
parent2ae406962bda8f4beb0187b15c0f268a78f2e433 (diff)
version 0.8.1.00.8.1.0
-rw-r--r--ChangeLog.md4
-rw-r--r--DobutokO/Poetry/StrictV.hs10
-rw-r--r--dobutokO-poetry.cabal6
3 files changed, 12 insertions, 8 deletions
diff --git a/ChangeLog.md b/ChangeLog.md
index 3c3c479..78871fc 100644
--- a/ChangeLog.md
+++ b/ChangeLog.md
@@ -45,3 +45,7 @@ similar to the respective functions without 'Line' ending in their name but prin
* Eigth version. Changed the module structure. Removed the module DobutokO.Poetry.PrependAppend and added the module DobutokO.Poetry.General with more extended
possibilities. Addad also README.md file with some useful information. Some code and documentation improvements.
+
+## 0.8.1.0 -- 2020-07-31
+
+* Eigth version revised A. Fixed issue with being not compiled fo GHC versions prior to 8.4* series.
diff --git a/DobutokO/Poetry/StrictV.hs b/DobutokO/Poetry/StrictV.hs
index ee8f9a6..c5f87d0 100644
--- a/DobutokO/Poetry/StrictV.hs
+++ b/DobutokO/Poetry/StrictV.hs
@@ -14,9 +14,9 @@
module DobutokO.Poetry.StrictV where
#ifdef __GLASGOW_HASKELL__
-#if __GLASGOW_HASKELL__>=710
-/* code that applies only to GHC 7.10.* and higher versions */
-import GHC.Base ((<>))
+#if __GLASGOW_HASKELL__>=804
+/* code that applies only to GHC 8.4.* and higher versions */
+import Data.Semigroup ((<>))
import Prelude hiding ((<>))
#endif
#endif
@@ -47,12 +47,12 @@ uniquenessVariants2GNP !ts !us vN g !xs
preAppend :: [a] -> [[a]] -> [[a]] -> [[a]]
#ifdef __GLASGOW_HASKELL__
-#if __GLASGOW_HASKELL__>=710
+#if __GLASGOW_HASKELL__>=804
preAppend ts !uss tss = ts:tss <> uss
#endif
#endif
#ifdef __GLASGOW_HASKELL__
-#if __GLASGOW_HASKELL__==708
+#if __GLASGOW_HASKELL__<804
preAppend ts !uss tss = ts:tss ++ uss
#endif
#endif
diff --git a/dobutokO-poetry.cabal b/dobutokO-poetry.cabal
index 56e9820..ca2e403 100644
--- a/dobutokO-poetry.cabal
+++ b/dobutokO-poetry.cabal
@@ -2,7 +2,7 @@
-- documentation, see http://haskell.org/cabal/users-guide/
name: dobutokO-poetry
-version: 0.8.0.0
+version: 0.8.1.0
synopsis: Helps to order the 7 or less Ukrainian words to obtain somewhat suitable for poetry or music text
description: Helps to order the 7 or less Ukrainian words (or their concatenations) to obtain somewhat suitable for poetry or music text. Can be also used as a research instrument with generalized functions.
@@ -27,8 +27,8 @@ library
executable dobutokO-poetry
main-is: Main.hs
- other-modules: DobutokO.Poetry.Basic, DobutokO.Poetry, DobutokO.Poetry.StrictV, DobutokO.Poetry.Auxiliary, DobutokO.Poetry.Norms, DobutokO.Poetry.UniquenessPeriodsG
- other-extensions: BangPatterns, CPP
+ other-modules: DobutokO.Poetry.Basic, DobutokO.Poetry, DobutokO.Poetry.StrictV, DobutokO.Poetry.Auxiliary, DobutokO.Poetry.Norms, DobutokO.Poetry.UniquenessPeriodsG, DobutokO.Poetry.General
+ other-extensions: BangPatterns, CPP, FlexibleInstances, MultiParamTypeClasses
build-depends: base >=4.7 && <4.15, vector >=0.11 && <0.14, mmsyn3 >=0.1.5 && <1, mmsyn7s >=0.6.7 && <1, mmsyn6ukr >=0.7.3 && <1
-- hs-source-dirs:
default-language: Haskell2010