@@ -22,8 +22,8 @@
2222-- values from a single starting value often called a seed value. Values can be
2323-- generated and /pulled/ from the 'Unfold' one at a time. It can also be
2424-- 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
26−-- type using 'S.unfold' by supplying the seed.
25+-- standard 'Streamly.Prelude.unfoldr' function. An 'Unfold' can be converted
26+-- into a stream type using 'Streamly.Prelude.unfold' by supplying the seed.
2727--
2828-- = Performance Notes
2929--
@@ -34,13 +34,13 @@
3434-- @Unfold m a b@ can be considered roughly equivalent to an action @a -> t m
3535-- b@ (where @t@ is a stream type). Instead of using an 'Unfold' one could just
3636-- 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
3838-- optimization when merging, appending or concatenating multiple streams.
3939-- Even though stream based combinator have excellent performance, they are
4040-- 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
42−-- a stream type) to generate streams is much less efficient compared to
43−-- 'S.concatUnfold'.
41+-- example, the 'Streamly.Prelude.concatMap' combinator which uses @a -> t m b@
42+-- (where @t@ is a stream type) to generate streams is much less efficient
43+-- compared to 'Streamly.Prelude.concatUnfold'.
4444--
4545-- On the other hand, transformation operations on stream types are as
4646-- efficient as transformations on 'Unfold'.
@@ -58,8 +58,8 @@
5858-- More, not yet exposed, unfold combinators can be found in
5959-- "Streamly.Internal.Data.Unfold".
6060
61−-- The stream types (e.g. 'S.SerialT') can be considered as a special case of
62−-- 'Unfold' with no starting seed.
61+-- The stream types (e.g. t'Streamly.SerialT') can be considered as a special
62+-- case of 'Unfold' with no starting seed.
6363--
6464module Streamly.Data.Unfold
6565 (