darq 0.2.0
darq: ^0.2.0 copied to clipboard
The power of lazy-evaluated enumerables in your hands! (A port of functional LINQ from the .NET library.)
[0.2.0] #
- The naming convention of the enumerable methods has been changed so that they are suffixed by the letter "e" (such as
selectE
,joinE
,whereE
). This is an attempt at a compromise between keeping the names of the methods consistent with their .NET origins while avoiding conflicts with existingIterable
methods. - Added two new factory methods to
Enumerable
:fromString
andgenerator
.fromString
converts aString
into anEnumerable
that iterates over each individual character, whilegenerator
allows an iterable to be created of the specified length using a given generator function. countIfE
has been merged withcountE
so thatcountE
now has aCondition
as an optional parameter. If theCondition
is provided, the behavior is identical tocountIfE
, and if not, the behavior is identical to the originalcountE
.- Fixed an issue where several of the enumerable methods weren't asserting on required parameters.
[0.1.2] #
- Addressing pub description warnings.
[0.1.1] #
- Addressing pub formatting warnings and issues.
[0.1.0] #
- Initial release.