diff options
author | Alexander Foremny <aforemny@posteo.de> | 2023-10-14 14:27:26 +0200 |
---|---|---|
committer | Alexander Foremny <aforemny@posteo.de> | 2023-10-16 10:28:32 +0200 |
commit | cd2777c6287eab41728c5368c7980b6520d8a8ea (patch) | |
tree | e45d7911bc733dabde439e5d4cc5687bdec1d295 /app/TreeGrepper/Match.hs | |
parent | 42fc137f64aab9242aab9bdb2f5da0a6d892f09c (diff) |
refactor: add language extensions to Cabal file
Ditches `ghci` in favor of `cabal repl`.
Diffstat (limited to 'app/TreeGrepper/Match.hs')
-rw-r--r-- | app/TreeGrepper/Match.hs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/app/TreeGrepper/Match.hs b/app/TreeGrepper/Match.hs index 1072fbd..5d9479e 100644 --- a/app/TreeGrepper/Match.hs +++ b/app/TreeGrepper/Match.hs @@ -1,6 +1,3 @@ -{-# LANGUAGE OverloadedRecordDot #-} -{-# LANGUAGE DeriveAnyClass #-} - module TreeGrepper.Match ( Match (..), Position (..), @@ -9,6 +6,7 @@ module TreeGrepper.Match where import Data.Aeson (FromJSON) +import Data.Binary (Binary) import Data.Function (on) import Data.List (sortBy) import Data.List.NonEmpty (NonEmpty ((:|))) @@ -17,7 +15,6 @@ import Data.Ord (comparing) import Data.Text (Text) import Data.Text qualified as T import GHC.Generics (Generic) -import Data.Binary (Binary) data Match = Match { kind :: String, |