Forked from
Glasgow Haskell Compiler / head.hackage
1031 commits behind, 9 commits ahead of the upstream repository.
-
Ryan Scott authoredRyan Scott authored
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
generic-lens-1.2.0.0.patch 1.34 KiB
diff -ru generic-lens-1.2.0.0.orig/src/Data/Generics/Product/Any.hs generic-lens-1.2.0.0/src/Data/Generics/Product/Any.hs
--- generic-lens-1.2.0.0.orig/src/Data/Generics/Product/Any.hs 2001-09-08 21:46:40.000000000 -0400
+++ generic-lens-1.2.0.0/src/Data/Generics/Product/Any.hs 2019-07-27 09:36:08.986915947 -0400
@@ -53,7 +53,7 @@
-- human = Human "Tunyasz" 50 "London"
-- :}
-class HasAny (sel :: k) s t a b | s sel k -> a where
+class HasAny sel s t a b | s sel -> a where
-- |A lens that focuses on a part of a product as identified by some
-- selector. Currently supported selectors are field names, positions and
-- unique types. Compatible with the lens package's 'Control.Lens.Lens'
diff -ru generic-lens-1.2.0.0.orig/src/Data/Generics/Sum/Any.hs generic-lens-1.2.0.0/src/Data/Generics/Sum/Any.hs
--- generic-lens-1.2.0.0.orig/src/Data/Generics/Sum/Any.hs 2001-09-08 21:46:40.000000000 -0400
+++ generic-lens-1.2.0.0/src/Data/Generics/Sum/Any.hs 2019-07-27 09:36:08.986915947 -0400
@@ -61,7 +61,7 @@
-- :}
-- |Sums that have generic prisms.
-class AsAny (sel :: k) a s | s sel k -> a where
+class AsAny sel a s | s sel -> a where
-- |A prism that projects a sum as identified by some selector. Currently
-- supported selectors are constructor names and unique types. Compatible
-- with the lens package's 'Control.Lens.Prism' type.