From cd2777c6287eab41728c5368c7980b6520d8a8ea Mon Sep 17 00:00:00 2001 From: Alexander Foremny Date: Sat, 14 Oct 2023 14:27:26 +0200 Subject: refactor: add language extensions to Cabal file Ditches `ghci` in favor of `cabal repl`. --- app/Issue/Filter.hs | 4 ---- app/Issue/Tag.hs | 7 +------ app/Issue/Text.hs | 3 --- 3 files changed, 1 insertion(+), 13 deletions(-) (limited to 'app/Issue') 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) -- cgit v1.2.3