aboutsummaryrefslogtreecommitdiffstats
path: root/app/Issue
diff options
context:
space:
mode:
Diffstat (limited to 'app/Issue')
-rw-r--r--app/Issue/Provenance.hs2
-rw-r--r--app/Issue/Tag.hs2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/Issue/Provenance.hs b/app/Issue/Provenance.hs
index 7cf4faa..f3d382c 100644
--- a/app/Issue/Provenance.hs
+++ b/app/Issue/Provenance.hs
@@ -25,7 +25,7 @@ data Provenance = Provenance
authorEmail :: Text,
authorName :: Text
}
- deriving (Show, Generic, Binary)
+ deriving (Show, Generic, Binary, Eq)
-- XXX These are taken from `Data.Binary.Orphans` [1]. I cannot get importing
-- the instance from the package to work.. so we use `-fno-warn-orphans` here.
diff --git a/app/Issue/Tag.hs b/app/Issue/Tag.hs
index 85636b5..42a371d 100644
--- a/app/Issue/Tag.hs
+++ b/app/Issue/Tag.hs
@@ -15,7 +15,7 @@ import Data.Time.Clock (UTCTime (utctDay))
import GHC.Generics (Generic)
import Issue.Provenance (Provenance (..))
-data Tag = Tag Text (Maybe Text) deriving (Show, Generic, Binary)
+data Tag = Tag Text (Maybe Text) deriving (Show, Generic, Binary, Eq)
tagKey :: Tag -> Text
tagKey (Tag k _) = k