aboutsummaryrefslogtreecommitdiff
path: root/src/Data/Array/Nested/Internal/Shaped.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Data/Array/Nested/Internal/Shaped.hs')
-rw-r--r--src/Data/Array/Nested/Internal/Shaped.hs12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/Data/Array/Nested/Internal/Shaped.hs b/src/Data/Array/Nested/Internal/Shaped.hs
index 2c24e6d..f50ed28 100644
--- a/src/Data/Array/Nested/Internal/Shaped.hs
+++ b/src/Data/Array/Nested/Internal/Shaped.hs
@@ -178,14 +178,14 @@ instance (KnownShS sh, KnownElt a) => KnownElt (Shaped sh a) where
= MV_Shaped <$> mvecsNewEmpty (Proxy @(Mixed (MapJust sh) a))
-arithPromoteShaped :: forall sh a. PrimElt a
- => (forall shx. Mixed shx a -> Mixed shx a)
- -> Shaped sh a -> Shaped sh a
+arithPromoteShaped :: forall sh a b.
+ (forall shx. Mixed shx a -> Mixed shx b)
+ -> Shaped sh a -> Shaped sh b
arithPromoteShaped = coerce
-arithPromoteShaped2 :: forall sh a. PrimElt a
- => (forall shx. Mixed shx a -> Mixed shx a -> Mixed shx a)
- -> Shaped sh a -> Shaped sh a -> Shaped sh a
+arithPromoteShaped2 :: forall sh a b c.
+ (forall shx. Mixed shx a -> Mixed shx b -> Mixed shx c)
+ -> Shaped sh a -> Shaped sh b -> Shaped sh c
arithPromoteShaped2 = coerce
instance (NumElt a, PrimElt a, Num a) => Num (Shaped sh a) where