summaryrefslogtreecommitdiff
path: root/dev-haskell/vector/files/vector-0.11.0.0-primitive-0.6.2.0.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-haskell/vector/files/vector-0.11.0.0-primitive-0.6.2.0.patch
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-haskell/vector/files/vector-0.11.0.0-primitive-0.6.2.0.patch')
-rw-r--r--dev-haskell/vector/files/vector-0.11.0.0-primitive-0.6.2.0.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/dev-haskell/vector/files/vector-0.11.0.0-primitive-0.6.2.0.patch b/dev-haskell/vector/files/vector-0.11.0.0-primitive-0.6.2.0.patch
new file mode 100644
index 000000000000..3b78ad74efc3
--- /dev/null
+++ b/dev-haskell/vector/files/vector-0.11.0.0-primitive-0.6.2.0.patch
@@ -0,0 +1,21 @@
+diff --git a/Data/Vector.hs b/Data/Vector.hs
+index db6dfb7..f074bf0 100644
+--- a/Data/Vector.hs
++++ b/Data/Vector.hs
+@@ -152,3 +152,3 @@ module Data.Vector (
+ -- ** Lists
+- toList, fromList, fromListN,
++ toList, Data.Vector.fromList, Data.Vector.fromListN,
+
+@@ -222,4 +222,4 @@ instance Exts.IsList (Vector a) where
+ type Item (Vector a) = a
+- fromList = fromList
+- fromListN = fromListN
++ fromList = Data.Vector.fromList
++ fromListN = Data.Vector.fromListN
+ toList = toList
+@@ -343,3 +343,3 @@ instance Traversable.Traversable Vector where
+ {-# INLINE traverse #-}
+- traverse f xs = fromList Applicative.<$> Traversable.traverse f (toList xs)
++ traverse f xs = Data.Vector.fromList Applicative.<$> Traversable.traverse f (toList xs)
+