Skip to content

Commit 044edd2

Browse files
committed
Drop redundant HTrans constraint in hcoerce's context
`HTrans h1 h2` is implied by the parent class.
1 parent 760fabe commit 044edd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sop-core/src/Data/SOP/Classes.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -653,7 +653,7 @@ class (Same h1 ~ h2, Same h2 ~ h1) => HTrans (h1 :: (k1 -> Type) -> (l1 -> Type)
653653
-- @since 0.3.1.0
654654
--
655655
hcoerce ::
656-
(AllZipN (Prod h1) (LiftedCoercible f g) xs ys, HTrans h1 h2)
656+
AllZipN (Prod h1) (LiftedCoercible f g) xs ys
657657
=> h1 f xs -> h2 g ys
658658

659659
-- | Specialization of 'hcoerce'.

0 commit comments

Comments
 (0)