On Fri, Aug 15, 2014 at 1:40 PM, Evgeniy Ostapenko <sml...@gmail.com> wrote:

>
>
> пятница, 15 августа 2014 г., 15:31:40 UTC+4 пользователь √ написал:
>
>>
>>
>>
>> On Fri, Aug 15, 2014 at 12:42 PM, Evgeniy Ostapenko <sml...@gmail.com>
>> wrote:
>>
>>>
>>>> Nonsense. That statement is isomorphic to saying that unbounded streams
>>>> are meaningless.
>>>>
>>> Ok. Show me use case when you need concat two unbounded streams (which
>>> never will stopped).
>>>
>>
>> Just because it is unbounded doesn't mean that it is _always_ infinite.
>> It just means that the count of elements is unknown. For instance, a TCP
>> connection could be considered to have unbounded input and output, but that
>> doesn't mean that it will never be cleanly closed.
>>
> Ok. It means unbounded != infinite. Use case for concat anything to
> infinite stream (which never will stopped).
>

If you beforehand know for a fact, that the stream is infinite, then it is
of little to no value, which happens to be the exact same as for
Iterable.++ and Iterator.++ (likewise for operations like count, fold,
isEmpty, etc etc)

Unbounded means "We don't know how many items will be in there, but the may
never end.", which doesn't preclude us from saying "but if they do end,
continue with this thing over here.".


>
>
>>
>>
>>>  --
>>> >>>>>>>>>> Read the docs: http://akka.io/docs/
>>> >>>>>>>>>> Check the FAQ: http://doc.akka.io/docs/akka/
>>> current/additional/faq.html
>>> >>>>>>>>>> Search the archives: https://groups.google.com/
>>> group/akka-user
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "Akka User List" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to akka-user+...@googlegroups.com.
>>> To post to this group, send email to akka...@googlegroups.com.
>>>
>>> Visit this group at http://groups.google.com/group/akka-user.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>> Cheers,
>> √
>>
>  --
> >>>>>>>>>> Read the docs: http://akka.io/docs/
> >>>>>>>>>> Check the FAQ:
> http://doc.akka.io/docs/akka/current/additional/faq.html
> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
> ---
> You received this message because you are subscribed to the Google Groups
> "Akka User List" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to akka-user+unsubscr...@googlegroups.com.
> To post to this group, send email to akka-user@googlegroups.com.
> Visit this group at http://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Cheers,
√

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to