@@ -22,8 +22,8 @@
22-- values from a single starting value often called a seed value. Values can be
22-- values from a single starting value often called a seed value. Values can be
23-- generated and /pulled/ from the 'Unfold' one at a time. It can also be
23-- generated and /pulled/ from the 'Unfold' one at a time. It can also be
24-- called a producer or a source of stream. It is a data representation of the
24-- called a producer or a source of stream. It is a data representation of the
25−-- standard 'S.unfoldr' function. An 'Unfold' can be converted into a stream
25+-- standard 'Streamly.Prelude.unfoldr' function. An 'Unfold' can be converted
26−-- type using 'S.unfold' by supplying the seed.
26+-- into a stream type using 'Streamly.Prelude.unfold' by supplying the seed.
28-- = Performance Notes
28-- = Performance Notes
@@ -34,13 +34,13 @@
34-- @Unfold m a b@ can be considered roughly equivalent to an action @a -> t m
34-- @Unfold m a b@ can be considered roughly equivalent to an action @a -> t m
35-- b@ (where @t@ is a stream type). Instead of using an 'Unfold' one could just
35-- b@ (where @t@ is a stream type). Instead of using an 'Unfold' one could just
36-- use a function of the shape @a -> t m b@. However, working with stream types
36-- use a function of the shape @a -> t m b@. However, working with stream types
37−-- like 'S.SerialT' does not allow the compiler to perform stream fusion
37+-- like t'Streamly.SerialT' does not allow the compiler to perform stream fusion
38-- optimization when merging, appending or concatenating multiple streams.
38-- optimization when merging, appending or concatenating multiple streams.
39-- Even though stream based combinator have excellent performance, they are
39-- Even though stream based combinator have excellent performance, they are
40-- much less efficient when compared to combinators using 'Unfold'. For
40-- much less efficient when compared to combinators using 'Unfold'. For
41−-- example, the 'S.concatMap' combinator which uses @a -> t m b@ (where @t@ is
41+-- example, the 'Streamly.Prelude.concatMap' combinator which uses @a -> t m b@
42−-- a stream type) to generate streams is much less efficient compared to
42+-- (where @t@ is a stream type) to generate streams is much less efficient
43−-- 'S.concatUnfold'.
43+-- compared to 'Streamly.Prelude.concatUnfold'.
45-- On the other hand, transformation operations on stream types are as
45-- On the other hand, transformation operations on stream types are as
46-- efficient as transformations on 'Unfold'.
46-- efficient as transformations on 'Unfold'.
@@ -58,8 +58,8 @@
58-- More, not yet exposed, unfold combinators can be found in
58-- More, not yet exposed, unfold combinators can be found in
59-- "Streamly.Internal.Data.Unfold".
59-- "Streamly.Internal.Data.Unfold".
61−-- The stream types (e.g. 'S.SerialT') can be considered as a special case of
61+-- The stream types (e.g. t'Streamly.SerialT') can be considered as a special
62−-- 'Unfold' with no starting seed.
62+-- case of 'Unfold' with no starting seed.
64module Streamly.Data.Unfold
64module Streamly.Data.Unfold