@@ -206,6 +206,9 @@ where
206206
207207import Control.Exception (assert)
208208import Control.DeepSeq (NFData(..))
209+#if MIN_VERSION_deepseq(1,4,3)
210+import Control.DeepSeq (NFData1(..))
211+#endif
209212import Control.Monad (when, void)
210213import Control.Monad.IO.Class (MonadIO(..))
211214import Data.Bits (shiftR, (.|.), (.&.))
@@ -2286,3 +2289,9 @@ cmp arr1 arr2 =
22862289instance NFData (Array a) where
22872290 {-# INLINE rnf #-}
22882291 rnf Array {} = ()
2292+
2293+#if MIN_VERSION_deepseq(1,4,3)
2294+instance NFData1 Array where
2295+ {-# INLINE liftRnf #-}
2296+ liftRnf _ Array{} = ()
2297+#endif