Iterates over the tails of this sequence. The first value will be this sequence, and the last value will be an empty sequence,
with the intervening values the results of successive applications of
Tail.
Namespace: SequencesAssembly: Sequences (in Sequences.dll) Version: 1.0.1.0 (1.0.1)
Syntax IEnumerable<ISequence<T>> Tails()
IEnumerable<ISequence<T>> Tails()
Function Tails As IEnumerable(Of ISequence(Of T))
Function Tails As IEnumerable(Of ISequence(Of T))
IEnumerable<ISequence<T>^>^ Tails()
IEnumerable<ISequence<T>^>^ Tails()
abstract Tails : unit -> IEnumerable<ISequence<'T>>
abstract Tails : unit -> IEnumerable<ISequence<'T>>
Return Value
Type:
IEnumerable ISequence T An iterator over all the tails of this sequence.
Examples Sequence.Range(1,4) = (1,2,3), (2,3), (3), Empty
See Also