You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Railway Oriented Programming is a really neat concept that enables super readable and explicit code. Libraries like neverthrow "artificially" add those concepts by providing some utility classes, maybe this can be further integrated into JavaScript.
In this Proposal, there is not much explicit information about how errors could be handled with the new pipe operator. When reading through it there are some questions popping up in my head. I am not sure if this is needed for the proposal, but I thought I would share it in this Issue in the hope that it adds to the discussion :)
Will downstream function calls be omitted if an early function throws an error?
Will JS Programmers need to create a Result Type/Object themselves to deal with this, or should there be something out of the box in JavaScript?
Is "Error Mapping" going to be a thing that's integrated into the new pipe syntax?
The text was updated successfully, but these errors were encountered:
In F# you can use Railway Oriented Programming to deal with errors in a Functional way.
Railway Oriented Programming is a really neat concept that enables super readable and explicit code. Libraries like neverthrow "artificially" add those concepts by providing some utility classes, maybe this can be further integrated into JavaScript.
In this Proposal, there is not much explicit information about how errors could be handled with the new pipe operator. When reading through it there are some questions popping up in my head. I am not sure if this is needed for the proposal, but I thought I would share it in this Issue in the hope that it adds to the discussion :)
Will downstream function calls be omitted if an early function throws an error?
Will JS Programmers need to create a
Result
Type/Object themselves to deal with this, or should there be something out of the box in JavaScript?Is "Error Mapping" going to be a thing that's integrated into the new pipe syntax?
The text was updated successfully, but these errors were encountered: