dry-rb / dry-effects

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

Support for not-defined state values #40

Closed flash-gordon closed 5 years ago

flash-gordon commented 5 years ago

This allows postponing state initialization. I found it useful in certain circumstances. You won't be able to read undefined value (unless a default is given), though, so it's safe.