Repository navigation
Changes
This release brings new and improved linq support for efficient validation and parsing. See for yourself:
record RawData(Option<int> IntValue, Option<string> StringValue)
{
public Option<ValidData> Parse()
=> from intValue in IntValue
where intValue != 0
from stringValue in StringValue
where !string.IsNullOrEmpty(stringValue)
select new ValidData(intValue, stringValue);
}
record ValidData(int NonZero, string NonEmpty);Added:
SelectManyoverloads to support nested from clauses for bothOption<T>andResult<T,E>.
Full Changelog: v3.1.0...v3.2.0