summaryrefslogtreecommitdiff
path: root/src/Data/Array/Mixed.hs
diff options
context:
space:
mode:
authorMikolaj Konarski <mikolaj.konarski@gmail.com>2024-04-21 23:13:42 +0200
committerMikolaj Konarski <mikolaj.konarski@gmail.com>2024-04-21 23:13:42 +0200
commit4def20b2699f8268ba7d03f3a228273ff613dc0d (patch)
tree4994299865d50b3d51a91976e5217b2c85086b22 /src/Data/Array/Mixed.hs
parentf29e8a37daf2ed55ea849c286e1bfb1025b67329 (diff)
Derive also the Ord instance for sized lists
Diffstat (limited to 'src/Data/Array/Mixed.hs')
-rw-r--r--src/Data/Array/Mixed.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Data/Array/Mixed.hs b/src/Data/Array/Mixed.hs
index 8b90547..47027cb 100644
--- a/src/Data/Array/Mixed.hs
+++ b/src/Data/Array/Mixed.hs
@@ -54,6 +54,7 @@ data IxX sh i where
(:.?) :: forall sh i. i -> IxX sh i -> IxX (Nothing : sh) i
deriving instance Show i => Show (IxX sh i)
deriving instance Eq i => Eq (IxX sh i)
+deriving instance Ord i => Ord (IxX sh i)
infixr 3 :.@
infixr 3 :.?