J-Tech-Japan / ResultBoxes

An opinionated C# Results Library that focus on Railway Oriented Programming.
Apache License 2.0
13 stars 0 forks source link

Sample code "8. Railway Oriented Programming with Wrapping Function with Try." is not working. #109

Closed MOTOO11 closed 3 months ago

MOTOO11 commented 3 months ago

A compilation error occurred.

image

Is there a solution?

MOTOO11 commented 3 months ago

In this case it worked as expected. image

I'm concerned that "WrapTry()" always returns UnitValue. image

MOTOO11 commented 3 months ago

Solved in #112