Skip to content

Commit

Permalink
Whitespace change.
Browse files Browse the repository at this point in the history
  • Loading branch information
j6carey committed Aug 30, 2023
1 parent ecbbd89 commit 3142924
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Proto3/Suite/Types.hs
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,7 @@ newtype Signed a = Signed { signed :: a }
-- | 'Enumerated' lifts any type with an 'IsEnum' instance so that it can be encoded
-- with 'HasEncoding'.
newtype Enumerated a = Enumerated { enumerated :: Either Int32 a }
deriving (Show, Ord, Generic, NFData
, Functor, Foldable, Traversable)
deriving (Show, Ord, Generic, NFData, Functor, Foldable, Traversable)

-- | We consider two enumerated values to be equal if they serialize to the same code.
instance ProtoEnum a => Eq (Enumerated a) where
Expand Down

0 comments on commit 3142924

Please sign in to comment.