Part of the push for good coverage of surface area functions, see #208 for an overview. This implements TaskSeq.concat overloads for seq, list, array and ResizeArray. Reasoning behind specific overloads is that multiple overloads with flex types is not possible: https://github.com/dotnet/fsharp/issues/4943.
Each of these behave exactly like their Seq counterparts:
raises on null source
raises normal NullReferenceException when a nested sequence returns null
As before, the xml doc blibs have been taken from seq.fs and modified a bit for readability and applicability to TaskSeq.
The signatures are as follows:
static member concat: sources: TaskSeq<#TaskSeq<'T>> -> TaskSeq<'T> // already there
static member concat: sources: TaskSeq<'T seq> -> TaskSeq<'T>
static member concat: sources: TaskSeq<'T[]> -> TaskSeq<'T>
static member concat: sources: TaskSeq<'T list> -> TaskSeq<'T>
static member concat: sources: TaskSeq<ResizeArray<'T>> -> TaskSeq<'T>
Part of the push for good coverage of surface area functions, see #208 for an overview. This implements
TaskSeq.concat
overloads forseq
,list
,array
andResizeArray
. Reasoning behind specific overloads is that multiple overloads with flex types is not possible: https://github.com/dotnet/fsharp/issues/4943.Each of these behave exactly like their
Seq
counterparts:null
sourceNullReferenceException
when a nested sequence returnsnull
As before, the xml doc blibs have been taken from
seq.fs
and modified a bit for readability and applicability toTaskSeq
.The signatures are as follows:
TODO list:
TaskSeq.concat
forseq
TaskSeq.concat
forarray
TaskSeq.concat
forlist
TaskSeq.concat
forResizeArray