summaryrefslogtreecommitdiff
path: root/examples/Example.hs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/Example.hs')
-rw-r--r--examples/Example.hs8
1 files changed, 6 insertions, 2 deletions
diff --git a/examples/Example.hs b/examples/Example.hs
index 1e8a963..06d78c8 100644
--- a/examples/Example.hs
+++ b/examples/Example.hs
@@ -4,9 +4,9 @@
{-# LANGUAGE CPP #-}
{-# LANGUAGE FlexibleContexts #-}
-{-# LANGUAGE UnicodeSyntax #-}
-{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE FlexibleInstances #-}
+{-# LANGUAGE OverloadedStrings #-}
+{-# LANGUAGE UnicodeSyntax #-}
module Example
(
@@ -40,7 +40,11 @@ import Control.Monad.Writer
import Data.Monoid.Unicode
+#if MIN_VERSION_base(4,13,0)
+import Prelude.Unicode hiding ((×))
+#else
import Prelude.Unicode
+#endif
-- This assumes usage of cabal with custom Setup.hs
--