aboutsummaryrefslogtreecommitdiff
path: root/src/Data/Array/Nested/Internal/Mixed.hs
diff options
context:
space:
mode:
authorTom Smeding <tom@tomsmeding.com>2024-06-09 09:31:50 +0200
committerTom Smeding <tom@tomsmeding.com>2024-06-09 09:31:50 +0200
commit0c5d0ecb7f6a1fecc382badae60df27b4bf169a4 (patch)
tree9bedaa5731c16c3da5fd53fbd5bb9b5ead88e307 /src/Data/Array/Nested/Internal/Mixed.hs
parentcf42449abd68cc5c5648a1321df21f3c481e8b87 (diff)
Small cleanups
Diffstat (limited to 'src/Data/Array/Nested/Internal/Mixed.hs')
-rw-r--r--src/Data/Array/Nested/Internal/Mixed.hs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Data/Array/Nested/Internal/Mixed.hs b/src/Data/Array/Nested/Internal/Mixed.hs
index 1776687..dcd86d1 100644
--- a/src/Data/Array/Nested/Internal/Mixed.hs
+++ b/src/Data/Array/Nested/Internal/Mixed.hs
@@ -310,8 +310,9 @@ class Elt a where
-- of this class with those of 'Elt': some instances have an additional
-- "known-shape" constraint.
--
--- This class is (currently) only required for 'mgenerate' / 'rgenerate' /
--- 'sgenerate'.
+-- This class is (currently) only required for 'mgenerate',
+-- 'Data.Array.Nested.Ranked.rgenerate' and
+-- 'Data.Array.Nested.Shaped.sgenerate'.
class Elt a => KnownElt a where
-- | Create an empty array. The given shape must have size zero; this may or may not be checked.
memptyArray :: IShX sh -> Mixed sh a