Releases: marstr/collection
Releases · marstr/collection
v2.0.0-preview1
Adopts generics and uses context.Context
instead of channels for cancellation.
v1.1.1
v1.1.0
v1.0.0
Adding Directory type
Creating a new type Directory
which models a filesystem path to a directory as a collection of children, files and directories.
Adding `Singlep`
Adding a predicated version of the previous collection.Single
function. It is sugar for successively calling collection.Where(Predicate)
then collection.Single
Adding Enumerable Reverse
Adding a reusable Reverse method
Adding Cancellation Requirement
Adding a cancellation channel as a requirement of the Enumerable contract. This must be done to avoid goroutine/memory leaks stemming from abandoned Enumerators.