aboutsummaryrefslogtreecommitdiff
path: root/src/Data/Array/Nested/Mixed
diff options
context:
space:
mode:
authorMikolaj Konarski <mikolaj.konarski@funktory.com>2026-04-07 16:39:01 +0200
committerMikolaj Konarski <mikolaj.konarski@funktory.com>2026-04-07 16:39:04 +0200
commit933153197b3f2e1e75b8d88b0da6d99a41e8f471 (patch)
tree472ea5cf884ce89d946eefa3d8da03657c693549 /src/Data/Array/Nested/Mixed
parent574468a37a0e662c5d63d1cf3f8f876b11b4e332 (diff)
Apply some hlint hints
Diffstat (limited to 'src/Data/Array/Nested/Mixed')
-rw-r--r--src/Data/Array/Nested/Mixed/ListX.hs2
-rw-r--r--src/Data/Array/Nested/Mixed/Shape.hs3
2 files changed, 1 insertions, 4 deletions
diff --git a/src/Data/Array/Nested/Mixed/ListX.hs b/src/Data/Array/Nested/Mixed/ListX.hs
index 048003f..51db341 100644
--- a/src/Data/Array/Nested/Mixed/ListX.hs
+++ b/src/Data/Array/Nested/Mixed/ListX.hs
@@ -6,7 +6,6 @@
{-# LANGUAGE GADTs #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE ImportQualifiedPost #-}
-{-# LANGUAGE MagicHash #-}
{-# LANGUAGE NoStarIsType #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE PolyKinds #-}
@@ -16,7 +15,6 @@
{-# LANGUAGE StandaloneDeriving #-}
{-# LANGUAGE StandaloneKindSignatures #-}
{-# LANGUAGE StrictData #-}
-{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE TypeApplications #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE TypeOperators #-}
diff --git a/src/Data/Array/Nested/Mixed/Shape.hs b/src/Data/Array/Nested/Mixed/Shape.hs
index 25cecb5..a5e3ced 100644
--- a/src/Data/Array/Nested/Mixed/Shape.hs
+++ b/src/Data/Array/Nested/Mixed/Shape.hs
@@ -16,7 +16,6 @@
{-# LANGUAGE StandaloneDeriving #-}
{-# LANGUAGE StandaloneKindSignatures #-}
{-# LANGUAGE StrictData #-}
-{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE TypeApplications #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE TypeOperators #-}
@@ -491,7 +490,7 @@ shxFromList (StaticShX topssh) topl = ShX $ go topssh topl
go ZH _ = error $ "shxFromList: List too long (type says " ++ show (listhLength topssh) ++ ")"
go (ConsKnown sn sh) (i : is)
| i == fromSNat' sn = ConsKnown sn (go sh is)
- | otherwise = error $ "shxFromList: Value does not match typing"
+ | otherwise = error "shxFromList: Value does not match typing"
go (ConsUnknown () sh) (i : is) = ConsUnknown i (go sh is)
go _ _ = error $ "shxFromList: List too short (type says " ++ show (listhLength topssh) ++ ")"