DEV Community

Artem Kazantsev
Artem Kazantsev

Posted on

My NuGet library — Bronskiy.Sequences

Hi, everyone!
I recently started building a NuGet library that allows you to generate lazily evaluated sequences from functions.
I would appreciate if you could review the API of the library or suggest new features!

Example

using Bronskiy.Sequences;

IEnumerable<int> powersOfTwo = Sequence<int>.Iterate(5, 1, value => value * 2); // 1, 2, 4, 8, 16

IEnumerable<string> words = Sequence<string>.Iterate(3, "a", value => value + "a"); // a, aa, aaa
Enter fullscreen mode Exit fullscreen mode

Links

Top comments (0)