5 ms·
You don't have to throw away the result. That's what the State Monads are for. Immutable State is Ok. Memoization is Ok.
by Life_exe 5y ago
You don't have to throw away the result.
That's what the State Monads are for.
Immutable State is Ok.
Memoization is Ok.