Effect.gen do you prefer to use:Effect.gen blocks to make the code more imperative, it's just that having to access Option.value or putting it into yet another local variable feels a bit inconvenient and using Option.getOrUndefined feels a bit odd as well.