Namespace: SequencesAssembly: Sequences (in Sequences.dll) Version: 1.0.1.0 (1.0.1)
Syntax public Sequence(
T head,
Func<ISequence<T>> tail
)
public Sequence(
T head,
Func<ISequence<T>> tail
)
Public Sub New (
head As T,
tail As Func(Of ISequence(Of T))
)
Public Sub New (
head As T,
tail As Func(Of ISequence(Of T))
)
public:
Sequence(
T head,
Func<ISequence<T>^>^ tail
)
public:
Sequence(
T head,
Func<ISequence<T>^>^ tail
)
new :
head : 'T *
tail : Func<ISequence<'T>> -> Sequence
new :
head : 'T *
tail : Func<ISequence<'T>> -> Sequence
Parameters
- head
- Type: T
The first element of the sequence.
- tail
- Type: System Func ISequence T
A delegate that will be used to realize the sequence's tail when needed.
See Also