aboutsummaryrefslogtreecommitdiffstats
path: root/app/Issue
diff options
context:
space:
mode:
authorLibravatar Alexander Foremny <aforemny@posteo.de>2023-10-14 14:27:26 +0200
committerLibravatar Alexander Foremny <aforemny@posteo.de>2023-10-16 10:28:32 +0200
commitcd2777c6287eab41728c5368c7980b6520d8a8ea (patch)
treee45d7911bc733dabde439e5d4cc5687bdec1d295 /app/Issue
parent42fc137f64aab9242aab9bdb2f5da0a6d892f09c (diff)
refactor: add language extensions to Cabal file
Ditches `ghci` in favor of `cabal repl`.
Diffstat (limited to 'app/Issue')
-rw-r--r--app/Issue/Filter.hs4
-rw-r--r--app/Issue/Tag.hs7
-rw-r--r--app/Issue/Text.hs3
3 files changed, 1 insertions, 13 deletions
diff --git a/app/Issue/Filter.hs b/app/Issue/Filter.hs
index 717fa8d..90b75de 100644
--- a/app/Issue/Filter.hs
+++ b/app/Issue/Filter.hs
@@ -1,7 +1,3 @@
-{-# LANGUAGE OverloadedRecordDot #-}
-{-# LANGUAGE OverloadedStrings #-}
-{-# LANGUAGE ViewPatterns #-}
-
module Issue.Filter
( Filter,
filterArg,
diff --git a/app/Issue/Tag.hs b/app/Issue/Tag.hs
index 7147cb1..9c0c98f 100644
--- a/app/Issue/Tag.hs
+++ b/app/Issue/Tag.hs
@@ -1,14 +1,9 @@
-{-# LANGUAGE LambdaCase #-}
-{-# LANGUAGE OverloadedStrings #-}
-{-# LANGUAGE ViewPatterns #-}
-{-# LANGUAGE DeriveAnyClass #-}
-
module Issue.Tag (Tag (..), extractTags, internalTags) where
+import Data.Binary (Binary)
import Data.Maybe (catMaybes)
import Data.Text (Text)
import Data.Text qualified as T
-import Data.Binary (Binary)
import GHC.Generics (Generic)
data Tag = Tag Text Text deriving (Show, Generic, Binary)
diff --git a/app/Issue/Text.hs b/app/Issue/Text.hs
index c8b97d7..7c81c91 100644
--- a/app/Issue/Text.hs
+++ b/app/Issue/Text.hs
@@ -1,6 +1,3 @@
-{-# LANGUAGE OverloadedRecordDot #-}
-{-# LANGUAGE OverloadedStrings #-}
-
module Issue.Text (extractText) where
import Control.Arrow (second)