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
Errors are currently handled through the use of exceptions. Because Elixir is a functional language, I think it would make contributions easier if they were handled in a manner more similar to what elixir developers are used to.
I would suggest using a result monad, since pattern matching on tuples doesn't have great support in Javascript.
Will have to investigate whether to write this monad manually or import a functional programming dependency.
Errors are currently handled through the use of exceptions. Because Elixir is a functional language, I think it would make contributions easier if they were handled in a manner more similar to what elixir developers are used to.
I would suggest using a result monad, since pattern matching on tuples doesn't have great support in Javascript.
Will have to investigate whether to write this monad manually or import a functional programming dependency.