@@ -38,8 +38,6 @@ module Data.Generics.Product.Internal.List
3838 , Elem
3939 , ListTuple (..)
4040 , TupleToList
41− , Permuting (..)
42− , Appending (..)
4341 ) where
4442
4543import GHC.TypeLits
@@ -160,7 +158,7 @@ instance Permuting List '[] '[] where
160158
161159instance (Permuting List as as', Inserting List '(fa, a) as' bs')
162160 => Permuting List ('(fa, a) ': as) bs' where
163− permuting = fromIso consing . pairing id permuting . consing . (inserting @_ @'(fa, _))
161+ permuting = fromIso consing . pairing id permuting . consing . inserting @_ @'(fa, _)
164162
165163--------------------------------------------------------------------------------
166164class IndexList (i :: Nat) as bs a b | i as -> a, i bs -> b, i as b -> bs, i bs a -> as where
@@ -170,7 +168,7 @@ instance {-# OVERLAPPING #-}
170168 ( as ~ ('(f, a) ': as')
171169 , bs ~ ('(f, b) ': as')
172170 ) => IndexList 0 as bs a b where
173− point = lens (\(x :> _) -> x) (\((_ :> xs), x') -> x' :> xs)
171+ point = lens (\(x :> _) -> x) (\(_ :> xs, x') -> x' :> xs)
174172 {-# INLINE point #-}
175173
176174instance