summaryrefslogtreecommitdiff
path: root/DobutokO/Poetry/StrictV.hs
diff options
context:
space:
mode:
Diffstat (limited to 'DobutokO/Poetry/StrictV.hs')
-rw-r--r--DobutokO/Poetry/StrictV.hs10
1 files changed, 5 insertions, 5 deletions
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