@@ -41,6 +41,7 @@ import GHC.Generics (Generic (Rep))
4141import GHC.TypeLits (Symbol, TypeError, ErrorMessage (..))
4242import Data.Generics.Internal.VL.Prism
4343import Data.Generics.Internal.Profunctor.Iso
44+import Data.Generics.Internal.Profunctor.Prism (prismPRavel)
4445
4546-- $setup
4647-- == /Running example:/
@@ -122,7 +123,7 @@ instance
122123 , s ~ Infer t b' a
123124 ) => AsConstructor ctor s t a b where
124125
125− _Ctor eta = prismRavel (repIso . _GCtor @ctor) eta
126+ _Ctor eta = prismRavel (prismPRavel (repIso . _GCtor @ctor)) eta
126127 {-# INLINE _Ctor #-}
127128
128129-- See Note [Uncluttering type signatures]