We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4b1f24 commit e442c55Copy full SHA for e442c55
src/Data/Array/Destination.hs
@@ -186,7 +186,7 @@ dropEmpty = Unsafe.toLinear unsafeDrop where
186
unsafeDrop :: DArray a -> ()
187
unsafeDrop (DArray ds)
188
| MVector.length ds > 0 = error "Destination.dropEmpty on non-empty array."
189
- | otherwise = ()
+ | otherwise = ds `seq` ()
190
191
-- | @'split' n dest = (destl, destr)@ such as @destl@ has length @n@.
192
--
0 commit comments