@@ -219,6 +219,7 @@ import Control.Monad.Trans.Class (MonadTrans (..))
219219-- one of the following combinators to specify what type of stream you mean.
220220--
221221-- This code:
222+--
222223-- @
223224-- main = ('toList' $ (return 1 <> return 2)) >>= print
224225-- @
@@ -229,10 +230,10 @@ import Control.Monad.Trans.Class (MonadTrans (..))
229230-- Ambiguous type variable ‘t0’ arising from a use of ...
230231-- @
231232--
232−-- To fix the error:
233+-- To fix the error just tell 'toList' what kind of stream are we feeding it:
233234--
234235-- @
235−-- main = ('toList' . 'serially' $ (return 1 <> return 2)) >>= print
236+-- main = ('toList' $ 'serially' $ (return 1 <> return 2)) >>= print
236237-- @
237238-- @
238239-- main = ('toList' $ (return 1 <> return 2 :: StreamT IO Int)) >>= print