Upgrading
v1.x - v2.x
Renamed Bind to Try
Bind to Try-Option.Bind(() => CreateSome(), ex => Console.WriteLine(ex));
+Option.Try(() => CreateSome());
-Result.Bind(() => CreateOk(), ex => HandleEx(ex));
+Result.Try(() => CreateOk(), ex => HandleEx(ex));Introduced MonadsGlobalConfig
MonadsGlobalConfigMonadsGlobalConfig.UseExceptionLogger((ex) => {
Console.WriteLine(ex); // replace with your logger's log method, e.g. serilog
});Removed local error handling for Option
v2.x - v3.x
v3.x - v4.x
v4.x - v5.x
Last updated
Was this helpful?