summaryrefslogtreecommitdiff
path: root/lib/Badges.hs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lib/Badges.hs5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/Badges.hs b/lib/Badges.hs
index c1a17b3..d6afc43 100644
--- a/lib/Badges.hs
+++ b/lib/Badges.hs
@@ -8,14 +8,13 @@
-- | module defining Badge types and utility functions
module Badges where
-import Control.DeepSeq (NFData)
+import Universum
+
import Data.Aeson (Options (fieldLabelModifier, sumEncoding),
SumEncoding (UntaggedValue), ToJSON (toJSON),
defaultOptions, genericToJSON, (.=))
import qualified Data.Aeson as A
import Data.Char (toLower)
-import Data.Text (Text)
-import GHC.Generics (Generic)
import Text.Regex.TDFA ((=~))