Skip to content

Commit

Permalink
Merge pull request #80 from wyager/main
Browse files Browse the repository at this point in the history
Add `Eq`, `Ord` for `Ack`
  • Loading branch information
rowanG077 authored Jun 8, 2024
2 parents fad7495 + 8519008 commit 0f387ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Protocols/Internal.hs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ import GHC.Generics (Generic)

-- | Protocol-agnostic acknowledgement
newtype Ack = Ack Bool
deriving (Generic, C.NFDataX, Show, C.Bundle)
deriving (Generic, C.NFDataX, Show, C.Bundle, Eq, Ord)

-- | Acknowledge. Used in circuit-notation plugin to drive ignore components.
instance Default Ack where
Expand Down

0 comments on commit 0f387ab

Please sign in to comment.