aboutsummaryrefslogtreecommitdiff
path: root/src/Array.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Array.hs')
-rw-r--r--src/Array.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Array.hs b/src/Array.hs
index 5140eaf..29806d4 100644
--- a/src/Array.hs
+++ b/src/Array.hs
@@ -43,6 +43,7 @@ data StaticShapeX sh where
SZX :: StaticShapeX '[]
(:$@) :: SNat n -> StaticShapeX sh -> StaticShapeX (Just n : sh)
(:$?) :: () -> StaticShapeX sh -> StaticShapeX (Nothing : sh)
+deriving instance Show (StaticShapeX sh)
type KnownShapeX :: [Maybe Nat] -> Constraint
class KnownShapeX sh where