From f7025bc3727e5ee058df3dfebb1fb73b933ee6b0 Mon Sep 17 00:00:00 2001 From: Tom Smeding Date: Sat, 15 Nov 2025 11:24:00 +0100 Subject: arith: Add IntElt instances for Int8 and Int16 --- src/Data/Array/Nested/Mixed.hs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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 -- cgit v1.2.3-70-g09d2