Skip to content

Commit

Permalink
handshake: cleaned up Acceptable instance
Browse files Browse the repository at this point in the history
  • Loading branch information
coot committed Feb 3, 2025
1 parent 6dd29f8 commit 386ac19
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ instance Semigroup PeerSharing where
(<>) :: PeerSharing -> PeerSharing -> PeerSharing
PeerSharingDisabled <> _ = PeerSharingDisabled
_ <> PeerSharingDisabled = PeerSharingDisabled
_ <> _ = PeerSharingEnabled
PeerSharingEnabled <> PeerSharingEnabled = PeerSharingEnabled

-- | The Monoid laws are witnessed by the following denotation function:
--
Expand Down

0 comments on commit 386ac19

Please sign in to comment.