dry-rb / dry-effects

Algebraic effects in Ruby
https://dry-rb.org/gems/dry-effects/
MIT License
113 stars 20 forks source link

Add reader effect and handler, compatible with state #35

Closed flash-gordon closed 5 years ago

flash-gordon commented 5 years ago

You can read state values with Reader, but Reader can also be a provider == state without writing capabilities.