1 comment
bronsk1y33 minutes ago
Hi, everyone, blog author here!
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
Read the full thread on Hacker News →
Related stories
- The Library After Dark – a walkable 3D library of 600 public-domain bookslibraryafterdark.spaceHacker News · 2 points · 2 months ago
- Hacker News · 1 points · 2 months ago
- Koalephant Shell Script Librarybitbucket.orgLobsters · 2 points · over 8 years ago
- AI music maker Suno now generates spoken wordstheverge.comThe Verge · 0 points · 2 months ago
- Hacker News · 32 points · 2 months ago
- Hacker News · 2 points · about 2 months ago