diff options
-rw-r--r-- | src/Data/Array/Nested/Internal.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Data/Array/Nested/Internal.hs b/src/Data/Array/Nested/Internal.hs index 1999bb6..7d3b4bc 100644 --- a/src/Data/Array/Nested/Internal.hs +++ b/src/Data/Array/Nested/Internal.hs @@ -1080,7 +1080,7 @@ type ListS :: [Nat] -> Type -> Type data ListS sh i where ZS :: ListS '[] i (::$) :: forall n sh {i}. (KnownNat n, KnownShape sh) - => i -> ListS sh i -> ListS (n : sh) i + => !i -> !(ListS sh i) -> ListS (n : sh) i deriving instance Show i => Show (ListS sh i) deriving instance Eq i => Eq (ListS sh i) deriving instance Ord i => Ord (ListS sh i) |