on master help sign in
Fix doc typos
b9cd5b9Bryan O'Sullivan
Data/Text/Lazy/Fusion.hs+2−2
@@ -90,9 +90,9 @@ length = S.lengthI
90{-# RULES "LAZY STREAM stream/unstream fusion" forall s.
90{-# RULES "LAZY STREAM stream/unstream fusion" forall s.
91 stream (unstream s) = s #-}
91 stream (unstream s) = s #-}
92
92
93−-- | /O(n)/ Like 'unfoldr', 'unfoldrN64' builds a stream from a seed
93+-- | /O(n)/ Like 'unfoldr', 'unfoldrN' builds a stream from a seed
94-- value. However, the length of the result is limited by the
94-- value. However, the length of the result is limited by the
95−-- first argument to 'unfoldrN64'. This function is more efficient than
95+-- first argument to 'unfoldrN'. This function is more efficient than
96-- 'unfoldr' when the length of the result is known.
96-- 'unfoldr' when the length of the result is known.
97unfoldrN :: Int64 -> (a -> Maybe (Char,a)) -> a -> Stream Char
97unfoldrN :: Int64 -> (a -> Maybe (Char,a)) -> a -> Stream Char
98unfoldrN n = S.unfoldrNI n
98unfoldrN n = S.unfoldrNI n