From f1b28a3090d47c75dd63e05469059b8f871cc10c Mon Sep 17 00:00:00 2001 From: Tom Smeding Date: Thu, 10 Oct 2024 22:35:52 +0200 Subject: Fix error message in listxFromList --- src/Data/Array/Mixed/Shape.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Data/Array') diff --git a/src/Data/Array/Mixed/Shape.hs b/src/Data/Array/Mixed/Shape.hs index a8f58ef..1d3e60a 100644 --- a/src/Data/Array/Mixed/Shape.hs +++ b/src/Data/Array/Mixed/Shape.hs @@ -106,7 +106,7 @@ listxFromList topssh topl = go topssh topl go :: StaticShX sh' -> [i] -> ListX sh' (Const i) go ZKX [] = ZX go (_ :!% sh) (i : is) = Const i ::% go sh is - go _ _ = error $ "IsList(ListX): Mismatched list length (type says " + go _ _ = error $ "listxFromList: Mismatched list length (type says " ++ show (ssxLength topssh) ++ ", list has length " ++ show (length topl) ++ ")" -- cgit v1.2.3-70-g09d2