Install-Package Sequences -Version 1.0.1
dotnet add package Sequences --version 1.0.1
<PackageReference Include="Sequences" Version="1.0.1" />
paket add Sequences --version 1.0.1
#r "nuget: Sequences, 1.0.1"
// Install Sequences as a Cake Addin #addin nuget:?package=Sequences&version=1.0.1 // Install Sequences as a Cake Tool #tool nuget:?package=Sequences&version=1.0.1
Sequences is a port of Scala's Stream[+A] to C#.
A Sequence<T> is an immutable lazy list whose elements are only evaluated when they are needed. A sequence is composed by a head (the first element) and a lazily-evaluated tail (the remaining elements).
The fact that the tail is lazily-evaluated, makes it easy to represent infinite series or sets.
See the project's page for examples: https://github.com/dcastro/Sequences
This package has no dependencies.
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
- Improved iterators to allow a more efficient garbage collection;
- Added IndexOfSlice and ContainsSlice.