aboutsummaryrefslogtreecommitdiff
path: root/src/Data/Array/Mixed.hs
diff options
context:
space:
mode:
authorTom Smeding <tom@tomsmeding.com>2024-05-21 11:42:17 +0200
committerTom Smeding <tom@tomsmeding.com>2024-05-21 11:42:17 +0200
commit3d2e4a567668ea951e629834e6871a3f144c1b84 (patch)
tree3c55c1833fd21bfac84b14a360617459ee5d143f /src/Data/Array/Mixed.hs
parentd4086966b95c2ed556f5628a4cfcc41f5e19fab7 (diff)
Add Eq, Fractional, Floating instances
Diffstat (limited to 'src/Data/Array/Mixed.hs')
-rw-r--r--src/Data/Array/Mixed.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Data/Array/Mixed.hs b/src/Data/Array/Mixed.hs
index ef036af..320a393 100644
--- a/src/Data/Array/Mixed.hs
+++ b/src/Data/Array/Mixed.hs
@@ -287,7 +287,7 @@ type family Rank sh where
type XArray :: [Maybe Nat] -> Type -> Type
newtype XArray sh a = XArray (S.Array (Rank sh) a)
- deriving (Show)
+ deriving (Show, Eq)
zeroIxX :: StaticShX sh -> IIxX sh
zeroIxX ZKX = ZIX