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 5a6541a commit 772613cCopy full SHA for 772613c
Data/Vector/Fusion/Bundle/Monadic.hs
@@ -943,7 +943,7 @@ enumFromTo_char x y = x `seq` y `seq` fromStream (Stream step xn) (Exact n)
943
944
enumFromTo_double :: (Monad m, Ord a, RealFrac a) => a -> a -> Bundle m v a
945
{-# INLINE_FUSED enumFromTo_double #-}
946
-enumFromTo_double n m = n `seq` m `seq` fromStream (Stream step n) (Max (len n m))
+enumFromTo_double n m = n `seq` m `seq` fromStream (Stream step n) (Max (len n lim))
947
where
948
lim = m + 1/2 -- important to float out
949
0 commit comments