[Discussion] Early return notation improvement #3
Replies: 2 comments
-
Hey thanks, glad you like it! The reason for the |
Beta Was this translation helpful? Give feedback.
-
Closing due to lack of activity. Feel free to re-open if anything comes up. Moved to a discussion. |
Beta Was this translation helpful? Give feedback.
-
Nice package!
By looking at this:
I wonder if the early return notation can't be improved. Why not do something like:
I guess
.returnErr
can throw an err which can be caught by Result().This would avoid the annoying [$] notation
Beta Was this translation helpful? Give feedback.
All reactions