diff options
Diffstat (limited to 'src/Data/Array/Nested/Shaped')
-rw-r--r-- | src/Data/Array/Nested/Shaped/Base.hs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Data/Array/Nested/Shaped/Base.hs b/src/Data/Array/Nested/Shaped/Base.hs index 5c45abd..1d48270 100644 --- a/src/Data/Array/Nested/Shaped/Base.hs +++ b/src/Data/Array/Nested/Shaped/Base.hs @@ -173,6 +173,8 @@ instance Elt a => Elt (Shaped sh a) where vecs) instance (KnownShS sh, KnownElt a) => KnownElt (Shaped sh a) where + type KnownEltC (Shaped sh a) = (KnownShS sh, KnownElt a) + memptyArrayUnsafe :: forall sh'. IShX sh' -> Mixed sh' (Shaped sh a) memptyArrayUnsafe i | Dict <- lemKnownMapJust (Proxy @sh) |