From 4def20b2699f8268ba7d03f3a228273ff613dc0d Mon Sep 17 00:00:00 2001 From: Mikolaj Konarski Date: Sun, 21 Apr 2024 23:13:42 +0200 Subject: Derive also the Ord instance for sized lists --- src/Data/Array/Mixed.hs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Data/Array/Mixed.hs') 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 :.? -- cgit v1.2.3-70-g09d2