mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
Reported-by: Toralf Förster Closes: https://bugs.gentoo.org/761820 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
14 lines
350 B
Diff
14 lines
350 B
Diff
--- a/src/Linear/Instances.hs
|
|
+++ b/src/Linear/Instances.hs
|
|
@@ -21,8 +21,10 @@ import Control.Monad.Zip
|
|
import Data.Complex
|
|
import Data.Orphans ()
|
|
|
|
+#if ! MIN_VERSION_base_orphans(0,8,3)
|
|
instance MonadZip Complex where
|
|
mzipWith = liftA2
|
|
|
|
instance MonadFix Complex where
|
|
mfix f = (let a :+ _ = f a in a) :+ (let _ :+ a = f a in a)
|
|
+#endif
|