FuncSharp 7.0.1
What's Changed
Option<T>
is a struct type now to increase performanceTry<TSuccess, TError>
is also a struct now. It no longer inheritsCoproduct2<TSuccess, TError>.
- various performance improvements of methods on Options and collections
- overall changes to signature of various extensions methods.
What's Removed
IOption<T>
interface has been removedITry<T, E>
interface has been removedTry<TSuccess, TError>
no longer inheritsCoproduct2<TSuccess, TError>.
What's Added
INonEmptyEnumerable<T>
interface with a representation ofNonEmptyEnumerable<T>
has been createdReadOnlyList
static class exists for easy static creation of collections. (for example from params of other collections)- various numeric types have been created such as
PositiveInt
,PositiveDecimal
,NonNegativeInt
etc.
Contributors:
@KaliCZ @fpindej
Full Changelog: https://github.com/MewsSystems/FuncSharp/commits/v7.0.1