Closed SpyMachine closed 5 years ago
I have a project where I need to use the result of my first step again a few steps later but don't need it in a few steps in-between.
Is there a way I can somehow hold onto that value and reuse it later so I don't just have to string it along in steps that don't use the variable?
I think I realized dry-transaction is not what I want and have started just using dry-monads with do notation instead.
I have a project where I need to use the result of my first step again a few steps later but don't need it in a few steps in-between.
Is there a way I can somehow hold onto that value and reuse it later so I don't just have to string it along in steps that don't use the variable?