The C# LINQ query syntax from a in ... select ... should do a bind operation. This was currently not working correctly as messages where being repeated.
E.g.
from a in Result<string, string>.FailWith("fail1")
from b in Result<string, string>.FailWith("fail2")
from c in Result<string, string>.FailWith("fail3")
select new[] { a, b, c }
produces now a Failure with exactly 1 message: < "fail1" > instead of 4 duplicated messages.
This fixes #26.
The C# LINQ query syntax
from a in ... select ...
should do a bind operation. This was currently not working correctly as messages where being repeated.E.g.
produces now a Failure with exactly 1 message:
< "fail1" >
instead of 4 duplicated messages.