Algebraic effects for Ruby
Affect is a tiny Ruby gem providing a way to isolate and handle side-effects in functional programs. Affect implements algebraic effects in Ruby, but can also be used to implement patterns that are orthogonal to object-oriented programming, such as inversion of control and dependency injection.
Algebraic effects for Ruby #ruby #rubydeveloper #rubyonrails https://rubyonrails.ba/single/algebraic-effects-for-ruby