diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-haskell/constraints/files |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-haskell/constraints/files')
-rw-r--r-- | dev-haskell/constraints/files/constraints-0.4.1.3-ghc-8.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/dev-haskell/constraints/files/constraints-0.4.1.3-ghc-8.patch b/dev-haskell/constraints/files/constraints-0.4.1.3-ghc-8.patch new file mode 100644 index 000000000000..1b2f8169c45d --- /dev/null +++ b/dev-haskell/constraints/files/constraints-0.4.1.3-ghc-8.patch @@ -0,0 +1,17 @@ +diff --git a/Data/Constraint.hs b/Data/Constraint.hs +index 84d67c0..a104f51 100644 +--- a/Data/Constraint.hs ++++ b/Data/Constraint.hs +@@ -79,3 +79,7 @@ import Data.Data + #endif ++#if defined(__GLASGOW_HASKELL__) && __GLASGOW_HASKELL__ >= 707 ++import GHC.Exts (Constraint) ++#else + import GHC.Prim (Constraint) ++#endif + +@@ -375,3 +379,3 @@ instance Class () (b :=> a) where cls = Sub Dict + instance Class b a => () :=> Class b a where ins = Sub Dict +-instance (b :=> a) => () :=> b :=> a where ins = Sub Dict ++instance (b :=> a) => () :=> (b :=> a) where ins = Sub Dict + |