From c54050cd56d4f1181ce31636b1a176b953604903 Mon Sep 17 00:00:00 2001 From: Andrew Cady Date: Wed, 3 Jul 2019 15:17:24 -0400 Subject: minor refactor --- lib/KeyRing/Types.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/KeyRing') diff --git a/lib/KeyRing/Types.hs b/lib/KeyRing/Types.hs index f5fd879..6b686d5 100644 --- a/lib/KeyRing/Types.hs +++ b/lib/KeyRing/Types.hs @@ -1,3 +1,4 @@ +{-# LANGUAGE DeriveAnyClass #-} {-# LANGUAGE DeriveFunctor #-} module KeyRing.Types where @@ -28,7 +29,7 @@ data KeyRingOperation = KeyRingOperation -- files reside. Otherwise, the evironment variable $GNUPGHOME is consulted -- and if that is not set, it falls back to $HOME/.gnupg. } - deriving (Eq,Show) + deriving (Eq,Show,Semigroup,Monoid) data InputFile = HomeSec -- ^ A file named secring.gpg located in the home directory. -- cgit v1.2.3