chore(cabal): update haskell language edition to GHC2021

This includes a good set of default language extensions that are
often used by us. It frees us of explicitly importing common extensions.

Ref: https://ghc.gitlab.haskell.org/ghc/doc/users_guide/exts/control.html#extension-GHC2021

Signed-off-by: Taimoor Zaeem <taimoorzaeem@gmail.com>
This commit is contained in:
Taimoor Zaeem
2026-08-05 12:38:29 +05:00
parent 7e8212870d
commit 426e15bbb4
23 changed files with 30 additions and 77 deletions
-1
View File
@@ -1,4 +1,3 @@
{-# LANGUAGE BangPatterns #-}
module Feature.Auth.JwtCacheSpec where
import qualified Data.Map as M
+2 -3
View File
@@ -1,6 +1,5 @@
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE UndecidableInstances #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE UndecidableInstances #-}
{-# OPTIONS_GHC -fno-warn-orphans #-}
module Feature.ConcurrentSpec where
-1
View File
@@ -1,4 +1,3 @@
{-# LANGUAGE TupleSections #-}
module SpecHelper where
import qualified Data.Aeson as JSON