Skip to content

Commit

Permalink
Strongweak.WeakenN: +Ord, Eq
Browse files Browse the repository at this point in the history
  • Loading branch information
raehik committed Oct 17, 2024
1 parent 71dad8b commit fd746ff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Strongweak/WeakenN.hs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ And so on. (This type is only much use from @n = 2@ onwards.)
-}
newtype WeakenN (n :: Natural) a = WeakenN { unWeakenN :: a }
deriving stock Show
deriving (Ord, Eq) via a

instance WeakenWeakenN n a => Weaken (WeakenN n a) where
type Weakened (WeakenN n a) = WeakenedN n a
Expand Down

0 comments on commit fd746ff

Please sign in to comment.