@@ -45,7 +45,7 @@ import Data.Generics.Product.Internal.Keyed
45import Data.Kind (Constraint, Type)
45import Data.Kind (Constraint, Type)
46import GHC.Generics
46import GHC.Generics
47import GHC.TypeLits (Symbol, ErrorMessage(..), TypeError)
47import GHC.TypeLits (Symbol, ErrorMessage(..), TypeError)
48−import Data.Generics.Internal.Profunctor.Lens
48+import Data.Generics.Internal.Profunctor.Lens as P
51-- == /Running example:/
51-- == /Running example:/
@@ -146,7 +146,7 @@ instance -- see Note [Changing type parameters]
146 , s ~ Infer t b' a
146 , s ~ Infer t b' a
147 ) => HasField field s t a b where
147 ) => HasField field s t a b where
149− field f s = ravel (repLens . gkey @field) f s
149+ field f s = VL.ravel (repLens . gkey @field) f s
151-- -- See Note [Uncluttering type signatures]
151-- -- See Note [Uncluttering type signatures]
152instance {-# OVERLAPPING #-} HasField f (Void1 a) (Void1 b) a b where
152instance {-# OVERLAPPING #-} HasField f (Void1 a) (Void1 b) a b where