I'm looking for feedback 💬 over a small Ruby  implementation of the Result Object: https://source.olisti.co/snippets/1
Thanks in advance. 🖖
Result Object in Ruby ($1) · Snippets

GitLab Community Edition

pzol/deterministic

Functional - deterministic - Ruby made fun. Contribute to pzol/deterministic development by creating an account on GitHub.

@betamatt thanks. 🙂
I think that considerations similar to these can be applied to that gem as well: https://ruby.social/@olistik/100635807134962173
olistik (@[email protected])

@esparta I share this pragmatic consideration https://dry-rb.org/gems/dry-monads/1.0/result/ > The Success can be thought of as “everything went success” and the Failure is used when “something has gone wrong”. Regarding dry-rb/monads and the Result monad in particular, I feel it is an overly complicated component for the use case I'm aiming for, a use case I failed to comunicate. 🙂 I want to provide a component simple enough to be fully implemented with little code readable even by Ruby newbies.

ruby.social