Closed FCO closed 12 months ago
head
and tail
without arguments are what I call an endpoint: they produce a single value, and it doesn't make sense to make that a Seq
: in core, they don't either.
head
and tail
with arguments, return a ParaSeq
.
Does that answer your question? If it does, then please close this issue :-)
Yes, it does... it seems I have misread that, sorry. Thanks for your answer
Sorry for not testing it (I only read the code on my phone) but it seems head, tail (and other methods returning a Seq) returns a Seq and not a ParaSeq. Would it make sense to return a ParaSeq?