diff options
| author | Tom Smeding <tom@tomsmeding.com> | 2025-11-15 11:24:00 +0100 |
|---|---|---|
| committer | Tom Smeding <tom@tomsmeding.com> | 2025-11-15 11:24:00 +0100 |
| commit | f7025bc3727e5ee058df3dfebb1fb73b933ee6b0 (patch) | |
| tree | 250a2ef5924c2bce57a178fc5b302498d0f5b842 /src/Data/Array/Nested | |
| parent | ad3f44c8b170298e63b8b57ee02cb88fbbd210fc (diff) | |
arith: Add IntElt instances for Int8 and Int16
Diffstat (limited to 'src/Data/Array/Nested')
| -rw-r--r-- | src/Data/Array/Nested/Mixed.hs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Data/Array/Nested/Mixed.hs b/src/Data/Array/Nested/Mixed.hs index 0cdcc42..7bda08c 100644 --- a/src/Data/Array/Nested/Mixed.hs +++ b/src/Data/Array/Nested/Mixed.hs @@ -91,6 +91,9 @@ import Data.Bag -- Unfortunately, the setup of the library requires us to list these primitive -- element types multiple times; to aid in extending the list, all these lists -- have been marked with [PRIMITIVE ELEMENT TYPES LIST]. +-- +-- NOTE: if you add PRIMITIVE types, be sure to also add NumElt and IntElt +-- instances for them! -- | Wrapper type used as a tag to attach instances on. The instances on arrays |
