aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Smeding <tom@tomsmeding.com>2024-12-17 23:07:44 +0100
committerTom Smeding <tom@tomsmeding.com>2024-12-17 23:07:44 +0100
commit080f42a232b9e1124741d98427ce96b2c3ab1cf5 (patch)
tree72ce0f1056aa8d31e98c570235bb2f131a594783
parentd39ea901a67d17b0f33cdb4f76985e37208a9447 (diff)
Remove some missed overlapping Show (Mixed) instances
-rw-r--r--src/Data/Array/Nested/Internal/Ranked.hs1
-rw-r--r--src/Data/Array/Nested/Internal/Shaped.hs1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/Data/Array/Nested/Internal/Ranked.hs b/src/Data/Array/Nested/Internal/Ranked.hs
index 5160078..54094cc 100644
--- a/src/Data/Array/Nested/Internal/Ranked.hs
+++ b/src/Data/Array/Nested/Internal/Ranked.hs
@@ -70,7 +70,6 @@ instance (Show a, Elt a) => Show (Ranked n a) where
-- just unwrap the newtype and defer to the general instance for nested arrays
newtype instance Mixed sh (Ranked n a) = M_Ranked (Mixed sh (Mixed (Replicate n Nothing) a))
-deriving via (ShowViaToListLinear sh (Ranked n a)) instance (Show a, Elt a) => Show (Mixed sh (Ranked n a))
newtype instance MixedVecs s sh (Ranked n a) = MV_Ranked (MixedVecs s sh (Mixed (Replicate n Nothing) a))
diff --git a/src/Data/Array/Nested/Internal/Shaped.hs b/src/Data/Array/Nested/Internal/Shaped.hs
index 0a230c4..efeb618 100644
--- a/src/Data/Array/Nested/Internal/Shaped.hs
+++ b/src/Data/Array/Nested/Internal/Shaped.hs
@@ -71,7 +71,6 @@ instance (Show a, Elt a) => Show (Shaped sh a) where
-- just unwrap the newtype and defer to the general instance for nested arrays
newtype instance Mixed sh (Shaped sh' a) = M_Shaped (Mixed sh (Mixed (MapJust sh') a))
-deriving via (ShowViaToListLinear sh (Shaped sh' a)) instance (Show a, Elt a) => Show (Mixed sh (Shaped sh' a))
newtype instance MixedVecs s sh (Shaped sh' a) = MV_Shaped (MixedVecs s sh (Mixed (MapJust sh') a))